home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 23 / Amiga Format AFCD23 (Feb 1998, Issue 107).iso / -seriously_amiga- / shareware / programming / blitz / efmuilibsrc / blitzlibs / mui.asc
Text File  |  1997-12-06  |  103KB  |  2,697 lines

  1. ;**************************************************************************
  2. ;**
  3. ;** MUI - MagicUserInterface
  4. ;** (c) 1993-1997 Stefan Stuntz
  5. ;**
  6. ;** Main Header File
  7. ;**
  8. ;** /Blitz Basic 2  Interface by Erwan Fouret
  9. ;** /Added comments marked with a "/"
  10. ;** /IMPORTANT : you must make amigalibs.res resident
  11. ;**
  12. ;****************************************************************************
  13. ;** Class Tree
  14. ;****************************************************************************
  15. ;**
  16. ;** rootclass                    (BOOPSI's base class)
  17. ;** +--Notify                   (implements notification mechanism)
  18. ;** !  +--Family                (handles multiple children)
  19. ;** !  !  +--Menustrip          (describes a complete menu strip)
  20. ;** !  !  +--Menu               (describes a single menu)
  21. ;** !  !  \--Menuitem           (describes a single menu item)
  22. ;** !  +--Application           (main class for all applications)
  23. ;** !  +--Window                (main class for all windows)
  24. ;** !  !  \--Aboutmui           (About window of MUI preferences)
  25. ;** !  +--Area                  (base class for all GUI elements)
  26. ;** !     +--Rectangle          (spacing object)
  27. ;** !     +--Balance            (balancing separator bar)
  28. ;** !     +--Image              (image display)
  29. ;** !     +--Bitmap             (draws bitmaps)
  30. ;** !     !  \--Bodychunk       (makes bitmap from ILBM body chunk)
  31. ;** !     +--Text               (text display)
  32. ;** !     +--Gadget             (base class for intuition gadgets)
  33. ;** !     !  +--String          (string gadget)
  34. ;** !     !  +--Boopsi          (interface to BOOPSI gadgets)
  35. ;** !     !  \--Prop            (proportional gadget)
  36. ;** !     +--Gauge              (fule gauge)
  37. ;** !     +--Scale              (percentage scale)
  38. ;** !     +--Colorfield         (field with changeable color)
  39. ;** !     +--List               (line-oriented list)
  40. ;** !     !  +--Floattext       (special list with floating text)
  41. ;** !     !  +--Volumelist      (special list with volumes)
  42. ;** !     !  +--Scrmodelist     (special list with screen modes)
  43. ;** !     !  \--Dirlist         (special list with files)
  44. ;** !     +--Numeric            (base class for slider gadgets)
  45. ;** !     !  +--Knob            (turning knob)
  46. ;** !     !  +--Levelmeter      (level display)
  47. ;** !     !  +--Numericbutton   (space saving popup slider)
  48. ;** !     !  \--Slider          (traditional slider)
  49. ;** !     +--Framedisplay       (private)
  50. ;** !     !  \--Popframe        (private)
  51. ;** !     +--Imagedisplay       (private)
  52. ;** !     !  \--Popimage        (private)
  53. ;** !     +--Pendisplay         (displays a pen specification)
  54. ;** !     !  \--Poppen          (popup button to adjust a pen spec)
  55. ;** !     +--Group              (groups other GUI elements)
  56. ;** !        +--Mccprefs        (private)
  57. ;** !        +--Register        (handles page groups with titles)
  58. ;** !        !  \--Penadjust    (group to adjust a pen)
  59. ;** !        +--Settingsgroup   (private)
  60. ;** !        +--Settings        (private)
  61. ;** !        +--Frameadjust     (private)
  62. ;** !        +--Imageadjust     (private)
  63. ;** !        +--Virtgroup       (handles virtual groups)
  64. ;** !        +--Scrollgroup     (virtual groups with scrollbars)
  65. ;** !        +--Scrollbar       (traditional scrollbar)
  66. ;** !        +--Listview        (listview)
  67. ;** !        +--Radio           (radio button)
  68. ;** !        +--Cycle           (cycle gadget)
  69. ;** !        +--Coloradjust     (several gadgets to adjust a color)
  70. ;** !        +--Palette         (complete palette gadget)
  71. ;** !        +--Popstring       (base class for popup objects)
  72. ;** !           +--Popobject    (popup aynthing in a separate window)
  73. ;** !           !  +--Poplist   (popup a simple listview)
  74. ;** !           !  \--Popscreen (popup a list of public screens)
  75. ;** !           \--Popasl       (popup an asl requester)
  76. ;** +--Semaphore                (semaphore equipped objects)
  77. ;**    +--Applist               (private)
  78. ;**    +--Dataspace             (handles general purpose data spaces)
  79. ;**       \--Configdata         (private)
  80. ;**
  81. ;****************************************************************************
  82. ;** General Header File Information
  83. ;****************************************************************************
  84. ;**
  85. ;** All macro and structure definitions follow these rules:
  86. ;**
  87. ;** Name                       Meaning
  88. ;**
  89. ;** Macro MUIC_<class>               Name of a class
  90. ;** #MUIM_<class>_<method>      Method
  91. ;** #MUIP_<class>_<method>      Methods parameter structure
  92. ;** #MUIV_<class>_<method>_<x>  Special method value
  93. ;** #MUIA_<class>_<attrib>      Attribute
  94. ;** #MUIV_<class>_<attrib>_<x>  Special attribute value
  95. ;** #MUIE_<error>               Error return code from MUI_Error_()
  96. ;** #MUII_<name>                Standard MUI image
  97. ;** #MUIX_<code>                Control codes for text strings
  98. ;** #MUIO_<name>                Object type for MUI_MakeObjectA_()
  99. ;**
  100. ;** #MUIA_... attribute definitions are followed by a comment
  101. ;** consisting of the three possible letters I, S and G.
  102. ;** I: it's possible to specify this attribute at object creation time.
  103. ;** S: it's possible to change this attribute with SetAttrsA_().
  104. ;** G: it's possible to get this attribute with GetAttrA_().
  105. ;**
  106. ;** Items marked with "Custom Class" are for use in custom classes only!
  107.  
  108. ;**************************************************************************
  109. ;** Library specification
  110. ;**************************************************************************
  111.  
  112. Macro MUIMASTER_NAME "muimaster.library" : End Macro
  113. #MUIMASTER_VMIN    = 11
  114. #MUIMASTER_VLATEST = 19
  115.  
  116. ;** !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  117. ;** Warning, some of the macros in this header file work only with
  118. ;** muimaster.library V11 and above. If you recompile your programs,
  119. ;** be sure to open muimaster.library with MUIMASTER_VMIN as version number.
  120. ;** !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  121.  
  122. ; comment this if you dont want to include obsolete identifiers
  123. ;/ In the BB2 interface, put #MUI_OBSOLETE to 0
  124.  
  125. #MUI_OBSOLETE=1
  126.  
  127. ;************************************************************************
  128. ;** Config items for MUIM_GetConfigItem
  129. ;************************************************************************
  130.  
  131.  
  132. #MUICFG_PublicScreen       =     36
  133.  
  134. ;************************************************************************
  135. ;** Black box specification structures for images, pens, frames
  136. ;************************************************************************
  137.  
  138. NEWTYPE.MUI_PenSpec
  139.         buf.b[32]
  140. End NEWTYPE
  141.  
  142. ;************************************************************************
  143. ;** Public Screen Stuff
  144. ;************************************************************************
  145.  
  146. ;** NOTE: This stuff is only included to allow compilation of the supplied
  147. ;**       public screen manager for educational purposes. Everything
  148. ;**       here is subject to change without notice and I guarantee to
  149. ;**       do that just for fun!
  150. ;**       More info can be found in the screen manager source file.
  151.  
  152. Macro PSD_INITIAL_NAME "(unnamed)" : End Macro
  153. Macro PSD_INITIAL_TITLE "MUI Public Screen" : End Macro
  154. #PSD_ID_MPUB    =  $4D505542  ;'MPUB'
  155.  
  156. Macro PSD_NAME_FRONTMOST Chr$(171)+"Frontmost"+Chr$(187) : End Macro
  157.  
  158. Macro PSD_FILENAME_SAVE "envarc:mui/PublicScreens.iff" : End Macro
  159. Macro PSD_FILENAME_USE "env:mui/PublicScreens.iff" : End Macro
  160.  
  161. #PSD_MAXLEN_NAME       =  32
  162. #PSD_MAXLEN_TITLE      = 128
  163. #PSD_MAXLEN_FONT       =  48
  164. #PSD_MAXLEN_BACKGROUND = 256
  165. #PSD_NUMCOLS           =   8
  166. #PSD_MAXSYSPENS        =  20
  167. #PSD_NUMSYSPENS        =  12
  168. #PSD_MAXMUIPENS        =  10
  169. #PSD_NUMMUIPENS        =   8  ;=#MPEN_COUNT
  170.  
  171. NEWTYPE.MUI_RGBcolor
  172.         _red.l   ;/Normally red (no _)
  173.         _green.l ;/Normally green (no _)
  174.         _blue.l  ;/Normally blue (no _)
  175. End NEWTYPE
  176.  
  177. NEWTYPE.MUI_PubScreenDesc
  178.         Version.l
  179.  
  180.         Name.b[#PSD_MAXLEN_NAME]
  181.         Title.b[#PSD_MAXLEN_TITLE]
  182.         Font.b[#PSD_MAXLEN_FONT]
  183.         Background.b[#PSD_MAXLEN_BACKGROUND]
  184.  
  185.         DisplayID.l
  186.  
  187.         DisplayWidth.w
  188.         DisplayHeight.w
  189.  
  190.         DisplayDepth.b
  191.         OverscanType.b
  192.         AutoScroll.b
  193.         NoDrag.b
  194.         Exclusive.b
  195.         Interleaved.b
  196.         SysDefault.b
  197.         Behind.b
  198.         AutoClose.b
  199.         CloseGadget.b
  200.         DummyWasForeign.b
  201.  
  202.         SystemPens.b[#PSD_MAXSYSPENS]
  203.         Reserved.b[1+7*4-#PSD_MAXSYSPENS]
  204.  
  205.         _Palette.MUI_RGBcolor[#PSD_NUMCOLS]       ;/Normally Palette (no _)
  206.         rsvd.MUI_RGBcolor[#PSD_MAXSYSPENS-#PSD_NUMCOLS]
  207.  
  208.         rsvd2.MUI_PenSpec[#PSD_MAXMUIPENS]
  209.  
  210.         Changed.l
  211.         *UserData.b
  212. End NEWTYPE
  213.  
  214. NEWTYPE.MUIS_InfoClient
  215.         node.MinNode
  216.         *task.b     ;/Normally .Task (Task structure from exec/tasks.h)
  217.         sigbit.l
  218. End NEWTYPE
  219.  
  220.  
  221. ;**************************************************************************
  222. ;** Object Types for MUI_MakeObject()
  223. ;**************************************************************************
  224.  
  225. #MUIO_Label       =   1   ; STRPTR label, ULONG flags
  226. #MUIO_Button      =   2   ; STRPTR label
  227. #MUIO_Checkmark   =   3   ; STRPTR label
  228. #MUIO_Cycle       =   4   ; STRPTR label, STRPTR *entries
  229. #MUIO_Radio       =   5   ; STRPTR label, STRPTR *entries
  230. #MUIO_Slider      =   6   ; STRPTR label, LONG min, LONG max
  231. #MUIO_String      =   7   ; STRPTR label, LONG maxlen
  232. #MUIO_PopButton   =   8   ; STRPTR imagespec
  233. #MUIO_HSpace      =   9   ; LONG space
  234. #MUIO_VSpace      =  10   ; LONG space
  235. #MUIO_HBar        =  11   ; LONG space
  236. #MUIO_VBar        =  12   ; LONG space
  237. #MUIO_MenustripNM =  13   ; struct NewMenu *nm, ULONG flags
  238. #MUIO_Menuitem    =  14   ; STRPTR label, STRPTR shortcut, ULONG flags, ULONG data
  239. #MUIO_BarTitle    =  15   ; STRPTR label
  240. #MUIO_NumericButton= 16   ; STRPTR label, LONG min, LONG max, STRPTR format
  241.  
  242. #MUIO_Menuitem_CopyStrings  = (1 LSL 30)
  243.  
  244. #MUIO_Label_SingleFrame    = (1 LSL  8)
  245. #MUIO_Label_DoubleFrame    = (1 LSL  9)
  246. #MUIO_Label_LeftAligned    = (1 LSL 10)
  247. #MUIO_Label_Centered       = (1 LSL 11)
  248. #MUIO_Label_FreeVert       = (1 LSL 12)
  249.  
  250. #MUIO_MenustripNM_CommandKeyCheck  = (1 LSL 0) ; check for "localized" menu items such as "O\0Open"
  251.  
  252.  
  253.  
  254. ;**************************************************************************
  255. ;** ARexx Interface
  256. ;**************************************************************************
  257.  
  258. NEWTYPE.MUI_Command
  259.         *mc_Name.b
  260.         *mc_Template.b
  261.         mc_Parameters.l
  262.         *mc_Hook.b   ;/Normally .Hook (Hook structure from utility/hook.h)
  263.         mc_Reserved.l[5]
  264. End NEWTYPE
  265.  
  266. #MC_TEMPLATE_ID = -1
  267.  
  268. #MUI_RXERR_BADDEFINITION = -1
  269. #MUI_RXERR_OUTOFMEMORY   = -2
  270. #MUI_RXERR_UNKNOWNCOMMAND= -3
  271. #MUI_RXERR_BADSYNTAX     = -4
  272.  
  273.  
  274. ;**************************************************************************
  275. ;** Return values for MUI_Error()
  276. ;**************************************************************************
  277.  
  278. #MUIE_OK                 = 0
  279. #MUIE_OutOfMemory        = 1
  280. #MUIE_OutOfGfxMemory     = 2
  281. #MUIE_InvalidWindowObject= 3
  282. #MUIE_MissingLibrary     = 4
  283. #MUIE_NoARexx            = 5
  284. #MUIE_SingleTask         = 6
  285.  
  286.  
  287.  
  288. ;**************************************************************************
  289. ;** Standard MUI Images & Backgrounds
  290. ;**************************************************************************
  291.  
  292. #MUII_WindowBack    =  0   ; These images are configured
  293. #MUII_RequesterBack =  1   ; with the preferences program.
  294. #MUII_ButtonBack    =  2
  295. #MUII_ListBack      =  3
  296. #MUII_TextBack      =  4
  297. #MUII_PropBack      =  5
  298. #MUII_PopupBack     =  6
  299. #MUII_SelectedBack  =  7
  300. #MUII_ListCursor    =  8
  301. #MUII_ListSelect    =  9
  302. #MUII_ListSelCur    = 10
  303. #MUII_ArrowUp       = 11
  304. #MUII_ArrowDown     = 12
  305. #MUII_ArrowLeft     = 13
  306. #MUII_ArrowRight    = 14
  307. #MUII_CheckMark     = 15
  308. #MUII_RadioButton   = 16
  309. #MUII_Cycle         = 17
  310. #MUII_PopUp         = 18
  311. #MUII_PopFile       = 19
  312. #MUII_PopDrawer     = 20
  313. #MUII_PropKnob      = 21
  314. #MUII_Drawer        = 22
  315. #MUII_HardDisk      = 23
  316. #MUII_Disk          = 24
  317. #MUII_Chip          = 25
  318. #MUII_Volume        = 26
  319. #MUII_RegisterBack  = 27
  320. #MUII_Network       = 28
  321. #MUII_Assign        = 29
  322. #MUII_TapePlay      = 30
  323. #MUII_TapePlayBack  = 31
  324. #MUII_TapePause     = 32
  325. #MUII_TapeStop      = 33
  326. #MUII_TapeRecord    = 34
  327. #MUII_GroupBack     = 35
  328. #MUII_SliderBack    = 36
  329. #MUII_SliderKnob    = 37
  330. #MUII_TapeUp        = 38
  331. #MUII_TapeDown      = 39
  332. #MUII_PageBack      = 40
  333. #MUII_ReadListBack  = 41
  334. #MUII_Count         = 42
  335.  
  336. #MUII_BACKGROUND    = 128    ; These are direct color
  337. #MUII_SHADOW        = 129    ; combinations and are not
  338. #MUII_SHINE         = 130    ; affected by users prefs.
  339. #MUII_FILL          = 131
  340. #MUII_SHADOWBACK    = 132    ; Generally, you should
  341. #MUII_SHADOWFILL    = 133    ; avoid using them. Better
  342. #MUII_SHADOWSHINE   = 134    ; use one of the customized
  343. #MUII_FILLBACK      = 135    ; images above.
  344. #MUII_FILLSHINE     = 136
  345. #MUII_SHINEBACK     = 137
  346. #MUII_FILLBACK2     = 138
  347. #MUII_HSHINEBACK    = 139
  348. #MUII_HSHADOWBACK   = 140
  349. #MUII_HSHINESHINE   = 141
  350. #MUII_HSHADOWSHADOW = 142
  351. #MUII_MARKSHINE     = 143
  352. #MUII_MARKHALFSHINE = 144
  353. #MUII_MARKBACKGROUND= 145
  354. #MUII_LASTPAT       = 145
  355.  
  356.  
  357.  
  358. ;**************************************************************************
  359. ;** Special values for some methods
  360. ;**************************************************************************
  361.  
  362. #MUIV_TriggerValue     = $49893131
  363. #MUIV_NotTriggerValue  = $49893133
  364. #MUIV_EveryTime        = $49893131
  365.  
  366. #MUIV_Notify_Self       = 1
  367. #MUIV_Notify_Window     = 2
  368. #MUIV_Notify_Application= 3
  369. #MUIV_Notify_Parent     = 4
  370.  
  371. #MUIV_Application_Save_ENV    =  0
  372. #MUIV_Application_Save_ENVARC = -1
  373. #MUIV_Application_Load_ENV    =  0
  374. #MUIV_Application_Load_ENVARC = -1
  375.  
  376. #MUIV_Application_ReturnID_Quit = -1
  377.  
  378. #MUIV_List_Insert_Top         =    0
  379. #MUIV_List_Insert_Active      =   -1
  380. #MUIV_List_Insert_Sorted      =   -2
  381. #MUIV_List_Insert_Bottom      =   -3
  382.  
  383. #MUIV_List_Remove_First       =    0
  384. #MUIV_List_Remove_Active      =   -1
  385. #MUIV_List_Remove_Last        =   -2
  386. #MUIV_List_Remove_Selected    =   -3
  387.  
  388. #MUIV_List_Select_Off         =    0
  389. #MUIV_List_Select_On          =    1
  390. #MUIV_List_Select_Toggle      =    2
  391. #MUIV_List_Select_Ask         =    3
  392.  
  393. #MUIV_List_GetEntry_Active    =   -1
  394. #MUIV_List_Select_Active      =   -1
  395. #MUIV_List_Select_All         =   -2
  396.  
  397. #MUIV_List_Redraw_Active      =   -1
  398. #MUIV_List_Redraw_All         =   -2
  399.  
  400. #MUIV_List_Move_Top           =    0
  401. #MUIV_List_Move_Active        =   -1
  402. #MUIV_List_Move_Bottom        =   -2
  403. #MUIV_List_Move_Next          =   -3 ; only valid for second parameter
  404. #MUIV_List_Move_Previous      =   -4 ; only valid for second parameter
  405.  
  406. #MUIV_List_Exchange_Top        =   0
  407. #MUIV_List_Exchange_Active     =  -1
  408. #MUIV_List_Exchange_Bottom     =  -2
  409. #MUIV_List_Exchange_Next       =  -3 ; only valid for second parameter
  410. #MUIV_List_Exchange_Previous   =  -4 ; only valid for second parameter
  411.  
  412. #MUIV_List_Jump_Top           =    0
  413. #MUIV_List_Jump_Active        =   -1
  414. #MUIV_List_Jump_Bottom        =   -2
  415. #MUIV_List_Jump_Up            =   -4
  416. #MUIV_List_Jump_Down          =   -3
  417.  
  418. #MUIV_List_NextSelected_Start  =  -1
  419. #MUIV_List_NextSelected_End    =  -1
  420.  
  421. #MUIV_DragQuery_Refuse = 0
  422. #MUIV_DragQuery_Accept = 1
  423.  
  424. #MUIV_DragReport_Abort    = 0
  425. #MUIV_DragReport_Continue = 1
  426. #MUIV_DragReport_Lock     = 2
  427. #MUIV_DragReport_Refresh  = 3
  428.  
  429.  
  430.  
  431.  
  432. ;**************************************************************************
  433. ;** Control codes for text strings
  434. ;**************************************************************************
  435.  
  436. #MUIX_R = $00589C24  ;"\033r"    ; right justified
  437. #MUIX_C = $00589C34  ;"\033c"    ; centered
  438. #MUIX_L = $00589C44  ;"\033l"    ; left justified
  439.  
  440. #MUIX_N = $00589C54  ;"\033n"    ; normal
  441. #MUIX_B = $00589C64  ;"\033b"    ; bold
  442. #MUIX_I = $00589C74  ;"\033i"    ; italic
  443. #MUIX_U = $00589C84  ;"\033u"    ; underlined
  444.  
  445. #MUIX_PT = $00589C94  ;"\0332"   ; text pen
  446. #MUIX_PH = $00589CA5   ;"\0338"   ; highlight text pen
  447.  
  448.  
  449.  
  450. ;**************************************************************************
  451. ;** Parameter structures for some classes
  452. ;**************************************************************************
  453.  
  454. NEWTYPE.MUI_Palette_Entry
  455.         mpe_ID.l
  456.         mpe_Red.l
  457.         mpe_Green.l
  458.         mpe_Blue.l
  459.         mpe_Group.l
  460. End NEWTYPE
  461.  
  462. #MUIV_Palette_Entry_End = -1
  463.  
  464.  
  465. ;***************************
  466. ; Application Input Handler
  467. ;***************************
  468.  
  469. NEWTYPE.MUI_InputHandlerNode
  470.         ihn_Node.MinNode
  471.         *ihn_Object.b ;/Normally .Object
  472.         ihn_Signals.l ;/Normally this is ihn_stuff.ihn_sigs
  473.         ihn_Flags.l
  474.         ihn_Method.l
  475. End NEWTYPE
  476.  
  477. NEWTYPE.MUI_InputHandlerNode_Timer
  478.         ihn_Node.MinNode
  479.         *ihn_Object.b ;/Normally .Object
  480.         ihn_Millis.w  ;/Normally this is ihn_stuff.ihn_timer.ihn_millis
  481.         ihn_Current.w ;/Normally this is ihn_stuff.ihn_timer.ihn_current
  482.         ihn_Flags.l ; see below
  483.         ihn_Method.l
  484. End NEWTYPE
  485.  
  486. ; Flags for ihn_Flags
  487. #MUIIHNF_TIMER  = (1 LSL 0) ; set ihn_Ticks to number of 1/100 sec ticks you want to be triggered
  488.  
  489.  
  490. ;**********************
  491. ; Window Event Handler
  492. ;**********************
  493.  
  494. NEWTYPE.MUI_EventHandlerNode
  495.         ehn_Node.MinNode
  496.         ehn_Reserved.b ; don't touch!
  497.         ehn_Priority.b ; event handlers are inserted according to their priority.
  498.         ehn_Flags.w    ; certain flags, see below for definitions.
  499.         *ehn_Object.b   ; object which should receive MUIM_HandleEvent.
  500.         ;/          ^ Normally .Object
  501.         *ehn_Class.b    ; if !=NULL, MUIM_HandleEvent is invoked on exactly this class with CoerceMethod().
  502.         ;/         ^ Normally.IClass
  503.         ehn_Events.l   ; one or more IDCMP flags this handler should react on.
  504. End NEWTYPE
  505.  
  506. ; flags for ehn_Flags
  507. #MUI_EHF_ALWAYSKEYS  = (1 LSL 0)
  508.  
  509. ; other values reserved for future use
  510.  
  511. ; return values for MUIM_HandleEvent (bit-masked, all other bits must be 0)
  512. #MUI_EventHandlerRC_Eat  = (1 LSL 0) ; stop MUI from calling other handlers
  513.  
  514.  
  515. ;********************
  516. ; List Position Test
  517. ;********************
  518.  
  519. NEWTYPE.MUI_List_TestPos_Result
  520.         entry.l   ; number of entry, -1 if mouse not over valid entry
  521.         column.w  ; numer of column, -1 if no valid column
  522.         flags.w   ; see below
  523.         xoffset.w ; x offset of mouse click relative to column start
  524.         yoffset.w ; y offset of mouse click from center of line
  525.                   ; (negative values mean click was above center,
  526.                   ;  positive values mean click was below center)
  527. End NEWTYPE
  528.  
  529. #MUI_LPR_ABOVE   = (1 LSL 0)
  530. #MUI_LPR_BELOW   = (1 LSL 1)
  531. #MUI_LPR_LEFT    = (1 LSL 2)
  532. #MUI_LPR_RIGHT   = (1 LSL 3)
  533.  
  534.  
  535. ;**************************************************************************
  536. ;**
  537. ;** Macro Section
  538. ;** -------------
  539. ;**
  540. ;** To make GUI creation more easy and understandable, you can use the
  541. ;** macros below. If you dont want, just define MUI_NOSHORTCUTS to disable
  542. ;** them.
  543. ;** /Set MUI_SHORTCUTS to 0 to not to have shortcuts
  544. ;**
  545. ;** These macros are available to C programmers only.
  546. ;** /For Blitz2, you have to use tags with them (see the doc)
  547. ;**
  548. ;**************************************************************************
  549.  
  550. #MUI_SHORTCUTS=1
  551.  
  552. CNIF #MUI_SHORTCUTS=1
  553.  
  554.  
  555. ;**************************************************************************
  556. ;**
  557. ;** Object Generation
  558. ;** -----------------
  559. ;**
  560. ;** The xxxObject (and xChilds) macros generate new instances of MUI classes.
  561. ;** Every xxxObject can be followed by tagitems specifying initial create
  562. ;** time attributes for the new object and must be terminated with the
  563. ;** End macro:
  564. ;**
  565. ;** obj = StringObject,
  566. ;**          MUIA_String_Contents, "foo",
  567. ;**          MUIA_String_MaxLen  , 40,
  568. ;**          End;
  569. ;**
  570. ;** With the Child, SubWindow and WindowContents shortcuts you can
  571. ;** construct a complete GUI within one command:
  572. ;**
  573. ;** app = ApplicationObject,
  574. ;**
  575. ;**          ...
  576. ;**
  577. ;**          SubWindow, WindowObject,
  578. ;**             WindowContents, VGroup,
  579. ;**                Child, String("foo",40),
  580. ;**                Child, String("bar",50),
  581. ;**                Child, HGroup,
  582. ;**                   Child, CheckMark(TRUE),
  583. ;**                   Child, CheckMark(FALSE),
  584. ;**                   End,
  585. ;**                End,
  586. ;**             End,
  587. ;**
  588. ;**          SubWindow, WindowObject,
  589. ;**             WindowContents, HGroup,
  590. ;**                Child, ...,
  591. ;**                Child, ...,
  592. ;**                End,
  593. ;**             End,
  594. ;**
  595. ;**          ...
  596. ;**
  597. ;**          End;
  598. ;**
  599. ;** /xxxObject macros removed in Blitz interface
  600. ;**************************************************************************
  601.  
  602. ;/These macros are for special object creation
  603. ;/Use them with tags
  604.  
  605. Macro MenuObjectT         #MUIA_Menu_Title,&`1       : End Macro
  606. Macro HGroup              #MUIA_Group_Horiz,1        : End Macro
  607. Macro ColGroup            #MUIA_Group_Columns,(`1)   : End Macro
  608. Macro RowGroup            #MUIA_Group_Rows   ,(`1)   : End Macro
  609. Macro PageGroup           #MUIA_Group_PageMode,1     : End Macro
  610. Macro HGroupV             #MUIA_Group_Horiz,1        : End Macro
  611. Macro ColGroupV           #MUIA_Group_Columns,(`1)   : End Macro
  612. Macro RowGroupV           #MUIA_Group_Rows   ,(`1)   : End Macro
  613. Macro PageGroupV          #MUIA_Group_PageMode,1     : End Macro
  614. Macro RegisterGroup       #MUIA_Register_Titles,(`1) : End Macro
  615. Macro _End                0                          : End Macro
  616. ; /   ^ Normally End (no _)
  617.  
  618. #Child           = $804226e6      ;=#MUIA_Group_Child
  619. #SubWindow       = $8042bfe0      ;=#MUIA_Application_Window
  620. #WindowContents  = $8042cba5      ;=#MUIA_Window_RootObject
  621.  
  622.  
  623.  
  624. ;**************************************************************************
  625. ;**
  626. ;** Frame Types
  627. ;** -----------
  628. ;**
  629. ;** These macros may be used to specify one of MUI's different frame types.
  630. ;** Note that every macro consists of one { ti_Tag, ti_Data } pair.
  631. ;**
  632. ;** GroupFrameT() is a special kind of frame that contains a centered
  633. ;** title text.
  634. ;**
  635. ;** HGroup, GroupFrameT("Horiz Groups"),
  636. ;**    Child, RectangleObject, TextFrame  , End,
  637. ;**    Child, RectangleObject, StringFrame, End,
  638. ;**    Child, RectangleObject, ButtonFrame, End,
  639. ;**    Child, RectangleObject, ListFrame  , End,
  640. ;**    End,
  641. ;**
  642. ;**/Use next macros with tags
  643. ;**************************************************************************
  644.  
  645. Macro NoFrame          #MUIA_Frame, #MUIV_Frame_None        : End Macro
  646. Macro ButtonFrame      #MUIA_Frame, #MUIV_Frame_Button      : End Macro
  647. Macro ImageButtonFrame #MUIA_Frame, #MUIV_Frame_ImageButton : End Macro
  648. Macro TextFrame        #MUIA_Frame, #MUIV_Frame_Text        : End Macro
  649. Macro StringFrame      #MUIA_Frame, #MUIV_Frame_String      : End Macro
  650. Macro ReadListFrame    #MUIA_Frame, #MUIV_Frame_ReadList    : End Macro
  651. Macro InputListFrame   #MUIA_Frame, #MUIV_Frame_InputList   : End Macro
  652. Macro PropFrame        #MUIA_Frame, #MUIV_Frame_Prop        : End Macro
  653. Macro SliderFrame      #MUIA_Frame, #MUIV_Frame_Slider      : End Macro
  654. Macro GaugeFrame       #MUIA_Frame, #MUIV_Frame_Gauge       : End Macro
  655. Macro VirtualFrame     #MUIA_Frame, #MUIV_Frame_Virtual     : End Macro
  656. Macro GroupFrame       #MUIA_Frame, #MUIV_Frame_Group       : End Macro
  657. Macro GroupFrameT      #MUIA_Frame, #MUIV_Frame_Group, #MUIA_FrameTitle, &`1, #MUIA_Background, #MUII_GroupBack : End Macro
  658.  
  659.  
  660.  
  661. ;**************************************************************************
  662. ;**
  663. ;** Spacing Macros
  664. ;** --------------
  665. ;**
  666. ;**************************************************************************
  667.  
  668. Macro HVSpace               MUI_NewObjectA_("Rectangle.mui",0): End Macro
  669. Macro HSpace                MUI_MakeObjectA_(#MUIO_HSpace,`1) : End Macro
  670. Macro VSpace                MUI_MakeObjectA_(#MUIO_VSpace,`1) : End Macro
  671. ;/The macros HCenter and VCenter have been removed in BB2 interface
  672. ;/Please see the doc for more details
  673. Macro InnerSpacing #MUIA_InnerLeft,(`1),#MUIA_InnerRight,(`2),#MUIA_InnerTop,(`2),#MUIA_InnerBottom,(`2) : End Macro
  674. Macro GroupSpacing #MUIA_Group_Spacing,`1 : End Macro
  675.  
  676.  
  677.  
  678. CNIF #MUI_OBSOLETE=1
  679.  
  680. ;**************************************************************************
  681. ;**
  682. ;** String-Object
  683. ;** -------------
  684. ;**
  685. ;** The following macro creates a simple string gadget.
  686. ;**
  687. ;**************************************************************************
  688. ;/Macros removed in BB2 interface (see the doc)
  689.  
  690. CEND
  691.  
  692.  
  693.  
  694. CNIF #MUI_OBSOLETE=1
  695.  
  696. ;**************************************************************************
  697. ;**
  698. ;** CheckMark-Object
  699. ;** ----------------
  700. ;**
  701. ;** The following macro creates a checkmark gadget.
  702. ;**
  703. ;**************************************************************************
  704. ;/Macros removed in BB2 interface (see the doc)
  705.  
  706. CEND
  707.  
  708.  
  709. ;**************************************************************************
  710. ;**
  711. ;** Button-Objects
  712. ;** --------------
  713. ;**
  714. ;** Note: Use small letters for KeyButtons, e.g.
  715. ;**       KeyButton("Cancel",'c')  and not  KeyButton("Cancel",'C') !!
  716. ;**
  717. ;**************************************************************************
  718.  
  719. Macro SimpleButton MUI_MakeObjectA_(#MUIO_Button,&`1) : End Macro
  720.  
  721. CNIF #MUI_OBSOLETE=1
  722.  
  723. ;/Macros removed in BB2 interface (see the doc)
  724.  
  725. CEND
  726.  
  727. CNIF #MUI_OBSOLETE=1
  728.  
  729. ;**************************************************************************
  730. ;**
  731. ;** Cycle-Object
  732. ;** ------------
  733. ;**
  734. ;**************************************************************************
  735.  
  736. ;/Macros removed in BB2 interface (see the doc)
  737.  
  738. ;**************************************************************************
  739. ;**
  740. ;** Radio-Object
  741. ;** ------------
  742. ;**
  743. ;**************************************************************************
  744.  
  745. ;/Macros removed in BB2 interface (see the doc)
  746.  
  747. ;**************************************************************************
  748. ;**
  749. ;** Slider-Object
  750. ;** -------------
  751. ;**
  752. ;**************************************************************************
  753.  
  754. ;/Macros removed in BB2 interface (see the doc)
  755.  
  756. CEND
  757.  
  758.  
  759.  
  760. ;**************************************************************************
  761. ;**
  762. ;** Button to be used for popup objects
  763. ;**
  764. ;**************************************************************************
  765.  
  766. Macro PopButton MUI_MakeObjectA_(#MUIO_PopButton,`1) : End Macro
  767.  
  768.  
  769.  
  770. ;**************************************************************************
  771. ;**
  772. ;** Labeling Objects
  773. ;** ----------------
  774. ;**
  775. ;** Labeling objects, e.g. a group of string gadgets,
  776. ;**
  777. ;**   Small: |foo   |
  778. ;**  Normal: |bar   |
  779. ;**     Big: |foobar|
  780. ;**    Huge: |barfoo|
  781. ;**
  782. ;** is done using a 2 column group:
  783. ;**
  784. ;** ColGroup(2),
  785. ;**     Child, Label2("Small:" ),
  786. ;**    Child, StringObject, End,
  787. ;**     Child, Label2("Normal:"),
  788. ;**    Child, StringObject, End,
  789. ;**     Child, Label2("Big:"   ),
  790. ;**    Child, StringObject, End,
  791. ;**     Child, Label2("Huge:"  ),
  792. ;**    Child, StringObject, End,
  793. ;**    End,
  794. ;**
  795. ;** Note that we have three versions of the label macro, depending on
  796. ;** the frame type of the right hand object:
  797. ;**
  798. ;** Label1(): For use with standard frames (e.g. checkmarks).
  799. ;** Label2(): For use with double high frames (e.g. string gadgets).
  800. ;** Label() : For use with objects without a frame.
  801. ;**
  802. ;** These macros ensure that your label will look fine even if the
  803. ;** user of your application configured some strange spacing values.
  804. ;** If you want to use your own labeling, you'll have to pay attention
  805. ;** on this topic yourself.
  806. ;**
  807. ;**************************************************************************
  808.  
  809. ;/Macros removed in BB2 interface (see the doc)
  810.  
  811. ;**************************************************************************
  812. ;**
  813. ;** Controlling Objects
  814. ;** -------------------
  815. ;**
  816. ;** set() and get() are two short stubs for BOOPSI GetAttr() and SetAttrs()
  817. ;** calls:
  818. ;**
  819. ;** {
  820. ;**    char *x;
  821. ;**
  822. ;**    set(obj,MUIA_String_Contents,"foobar");
  823. ;**    get(obj,MUIA_String_Contents,&x);
  824. ;**
  825. ;**    printf("gadget contains '%s'\n",x);
  826. ;** }
  827. ;**
  828. ;** nnset() sets an attribute without triggering a possible notification.
  829. ;**
  830. ;**************************************************************************
  831.  
  832. ;/Macros removed in BB2 interface (see the doc)
  833.  
  834. CEND ; MUI_SHORTCUTS
  835.  
  836.  
  837. ;**************************************************************************
  838. ;**
  839. ;** For Boopsi Image Implementors Only:
  840. ;**
  841. ;** If MUI is using a boopsi image object, it will send a special method
  842. ;** immediately after object creation. This method has a parameter structure
  843. ;** where the boopsi can fill in its minimum and maximum size and learn if
  844. ;** its used in a horizontal or vertical context.
  845. ;**
  846. ;** The boopsi image must use the method id (MUIM_BoopsiQuery) as return
  847. ;** value. That's how MUI sees that the method is implemented.
  848. ;**
  849. ;** Note: MUI does not depend on this method. If the boopsi image doesn't
  850. ;**       implement it, minimum size will be 0 and maximum size unlimited.
  851. ;**
  852. ;**************************************************************************
  853.  
  854. #MUIM_BoopsiQuery  = $80427157 ; this is send to the boopsi and
  855.                                     ; must be used as return value
  856.  
  857. NEWTYPE.MUI_BoopsiQuery              ; parameter structure
  858.         mbq_MethodID.l              ; always MUIM_BoopsiQuery
  859.  
  860.         *mbq_Screen.b       ; obsolete, use mbq_RenderInfo
  861. ;/Normally .Screen  ^
  862.         mbq_Flags.l                 ; read only, see below
  863.  
  864.         mbq_MinWidth.l              ; write only, fill in min width
  865.         mbq_MinHeight.l             ; write only, fill in min height
  866.         mbq_MaxWidth.l              ; write only, fill in max width
  867.         mbq_MaxHeight.l             ; write only, fill in max height
  868.         mbq_DefWidth.l              ; write only, fill in def width
  869.         mbq_DefHeight.l             ; write only, fill in def height
  870.  
  871.         *mbq_RenderInfo.MUI_RenderInfo  ; read only, display context
  872.  
  873.         ; may grow in future ...
  874. End NEWTYPE
  875.  
  876. #MBQF_HORIZ  = (1 LSL 0)           ; object used in a horizontal
  877.                                     ; context (else vertical)
  878.  
  879. #MBQ_MUI_MAXMAX = (10000)          ; use this for unlimited MaxWidth/Height
  880.  
  881.  
  882. ;*****************************************
  883. ; Begin of automatic header file creation
  884. ;*****************************************
  885.  
  886.  
  887.  
  888.  
  889. ;**************************************************************************
  890. ;* Notify                                                                 *
  891. ;**************************************************************************
  892.  
  893. Macro MUIC_Notify "Notify.mui" : End Macro
  894.  
  895. ; Methods
  896.  
  897. #MUIM_CallHook                        = $8042b96b ; V4
  898. #MUIM_Export                          = $80420f1c ; V12
  899. #MUIM_FindUData                       = $8042c196 ; V8
  900. #MUIM_GetConfigItem                   = $80423edb ; V11
  901. #MUIM_GetUData                        = $8042ed0c ; V8
  902. #MUIM_Import                          = $8042d012 ; V12
  903. #MUIM_KillNotify                      = $8042d240 ; V4
  904. #MUIM_KillNotifyObj                   = $8042b145 ; V16
  905. #MUIM_MultiSet                        = $8042d356 ; V7
  906. #MUIM_NoNotifySet                     = $8042216f ; V9
  907. #MUIM_Notify                          = $8042c9cb ; V4
  908. #MUIM_Set                             = $8042549a ; V4
  909. #MUIM_SetAsString                     = $80422590 ; V4
  910. #MUIM_SetUData                        = $8042c920 ; V8
  911. #MUIM_SetUDataOnce                    = $8042ca19 ; V11
  912. #MUIM_WriteLong                       = $80428d86 ; V6
  913. #MUIM_WriteString                     = $80424bf4 ; V6
  914. NEWTYPE.MUIP_CallHook MethodID.l: *Hook.b: param1.l : End NEWTYPE
  915. ;/Normally .Hook (utility/hooks.h)     ^
  916. NEWTYPE.MUIP_Export MethodID.l: *dataspace.b : End NEWTYPE
  917. ;/Normally .Object                        ^
  918. NEWTYPE.MUIP_FindUData MethodID.l: udata.l : End NEWTYPE
  919. NEWTYPE.MUIP_GetConfigItem MethodID.l: id.l: *storage.l : End NEWTYPE
  920. NEWTYPE.MUIP_GetUData MethodID.l:udata.l:attr.l:*storage.l : End NEWTYPE
  921. NEWTYPE.MUIP_Import MethodID.l:*dataspace.b : End NEWTYPE
  922. ;/Normally .Object                       ^
  923. NEWTYPE.MUIP_KillNotify MethodID.l:TrigAttr.l : End NEWTYPE
  924. NEWTYPE.MUIP_KillNotifyObj MethodID.l:TrigAttr.l:*dest.b : End NEWTYPE
  925. ;/Normally .Object                                    ^
  926. NEWTYPE.MUIP_MultiSet MethodID.l:attr.l:_val.l:*obj.b : End NEWTYPE
  927. ;/Normally val (no _)                   ^
  928. NEWTYPE.MUIP_NoNotifySet MethodID.l: attr.l:*_format.b:_val.l : End NEWTYPE
  929. ;/Normally val and format (no _)             ^         ^
  930. NEWTYPE.MUIP_Notify MethodID.l: TrigAttr.l:TrigVal.l:*DestObj.b:FollowParams.l:End NEWTYPE
  931. NEWTYPE.MUIP_Set MethodID.l:attr.l:_val.l : End NEWTYPE
  932. ;/Normally val (no _)              ^
  933. NEWTYPE.MUIP_SetAsString MethodID.l:attr.l:*_format.b:_val.l:End NEWTYPE
  934. ;/Normally format and val (no _)            ^         ^
  935. NEWTYPE.MUIP_SetUData MethodID.l: udata.l:attr.l:_val.l : End NEWTYPE
  936. ;/Normally val (no _)                            ^
  937. NEWTYPE.MUIP_SetUDataOnce MethodID.l:udata.l:attr.l:_val.l : End NEWTYPE
  938. ;/Normally val (no _)                               ^
  939. NEWTYPE.MUIP_WriteLong MethodID.l:_val.l:*memory.l : End NEWTYPE
  940. ;/Normally val (no _)             ^
  941. NEWTYPE.MUIP_WriteString MethodID.l: *str.b: *memory.b : End NEWTYPE
  942.  
  943. ; Attributes
  944.  
  945. #MUIA_ApplicationObject               = $8042d3ee ; V4  ..g Object *
  946. #MUIA_AppMessage                      = $80421955 ; V5  ..g struct AppMessage *
  947. #MUIA_HelpLine                        = $8042a825 ; V4  isg LONG
  948. #MUIA_HelpNode                        = $80420b85 ; V4  isg STRPTR
  949. #MUIA_NoNotify                        = $804237f9 ; V7  .s. BOOL
  950. #MUIA_ObjectID                        = $8042d76e ; V11 isg ULONG
  951. #MUIA_Parent                          = $8042e35f ; V11 ..g Object *
  952. #MUIA_Revision                        = $80427eaa ; V4  ..g LONG
  953. #MUIA_UserData                        = $80420313 ; V4  isg ULONG
  954. #MUIA_Version                         = $80422301 ; V4  ..g LONG
  955.  
  956.  
  957.  
  958. ;**************************************************************************
  959. ;* Family                                                                 *
  960. ;**************************************************************************
  961.  
  962. Macro MUIC_Family "Family.mui" : End Macro : End Macro
  963.  
  964. ; Methods
  965.  
  966. #MUIM_Family_AddHead                  = $8042e200 ; V8
  967. #MUIM_Family_AddTail                  = $8042d752 ; V8
  968. #MUIM_Family_Insert                   = $80424d34 ; V8
  969. #MUIM_Family_Remove                   = $8042f8a9 ; V8
  970. #MUIM_Family_Sort                     = $80421c49 ; V8
  971. #MUIM_Family_Transfer                 = $8042c14a ; V8
  972. NEWTYPE.MUIP_Family_AddHead        MethodID.l: *obj.b : End NEWTYPE
  973. ;/Normally .Object                                 ^
  974. NEWTYPE.MUIP_Family_AddTail        MethodID.l: *obj.b : End NEWTYPE
  975. ;/Normally .Object                                 ^
  976. NEWTYPE.MUIP_Family_Insert         MethodID.l: *obj.b : *pred.b : End NEWTYPE
  977. ;/Normally .Object                                 ^         ^
  978. NEWTYPE.MUIP_Family_Remove         MethodID.l: *obj.b : End NEWTYPE
  979. ;/Normally .Object                                 ^
  980. NEWTYPE.MUIP_Family_Sort           MethodID.l: *obj.b[1] : End NEWTYPE
  981. ;/Normally .Object                                 ^
  982. NEWTYPE.MUIP_Family_Transfer       MethodID.l: *family.b : End NEWTYPE
  983. ;/Normally .Object                                    ^
  984.  
  985. ; Attributes
  986.  
  987. #MUIA_Family_Child                    = $8042c696 ; V8  i.. Object *
  988. #MUIA_Family_List                     = $80424b9e ; V8  ..g struct MinList *
  989.  
  990.  
  991.  
  992. ;**************************************************************************
  993. ;* Menustrip                                                              *
  994. ;**************************************************************************
  995.  
  996. Macro MUIC_Menustrip "Menustrip.mui" : End Macro
  997.  
  998. ; Methods
  999.  
  1000.  
  1001. ; Attributes
  1002.  
  1003. #MUIA_Menustrip_Enabled               = $8042815b ; V8  isg BOOL
  1004.  
  1005.  
  1006.  
  1007. ;**************************************************************************
  1008. ;* Menu                                                                   *
  1009. ;**************************************************************************
  1010.  
  1011. Macro MUIC_Menu "Menu.mui" : End Macro
  1012.  
  1013. ; Methods
  1014.  
  1015.  
  1016. ; Attributes
  1017.  
  1018. #MUIA_Menu_Enabled                    = $8042ed48 ; V8  isg BOOL
  1019. #MUIA_Menu_Title                      = $8042a0e3 ; V8  isg STRPTR
  1020.  
  1021.  
  1022.  
  1023. ;**************************************************************************
  1024. ;* Menuitem                                                               *
  1025. ;**************************************************************************
  1026.  
  1027. Macro MUIC_Menuitem "Menuitem.mui" : End Macro
  1028.  
  1029. ; Methods
  1030.  
  1031.  
  1032. ; Attributes
  1033.  
  1034. #MUIA_Menuitem_Checked                = $8042562a ; V8  isg BOOL
  1035. #MUIA_Menuitem_Checkit                = $80425ace ; V8  isg BOOL
  1036. #MUIA_Menuitem_CommandString          = $8042b9cc ; V16 isg BOOL
  1037. #MUIA_Menuitem_Enabled                = $8042ae0f ; V8  isg BOOL
  1038. #MUIA_Menuitem_Exclude                = $80420bc6 ; V8  isg LONG
  1039. #MUIA_Menuitem_Shortcut               = $80422030 ; V8  isg STRPTR
  1040. #MUIA_Menuitem_Title                  = $804218be ; V8  isg STRPTR
  1041. #MUIA_Menuitem_Toggle                 = $80424d5c ; V8  isg BOOL
  1042. #MUIA_Menuitem_Trigger                = $80426f32 ; V8  ..g struct MenuItem *
  1043.  
  1044. #MUIV_Menuitem_Shortcut_Check = -1
  1045.  
  1046.  
  1047. ;**************************************************************************
  1048. ;* Application                                                            *
  1049. ;**************************************************************************
  1050.  
  1051. Macro MUIC_Application "Application.mui" : End Macro
  1052.  
  1053. ; Methods
  1054.  
  1055. #MUIM_Application_AboutMUI            = $8042d21d ; V14
  1056. #MUIM_Application_AddInputHandler     = $8042f099 ; V11
  1057. #MUIM_Application_CheckRefresh        = $80424d68 ; V11
  1058. CNIF #MUI_OBSOLETE=1
  1059. #MUIM_Application_GetMenuCheck        = $8042c0a7 ; V4
  1060. CEND ; MUI_OBSOLETE
  1061. CNIF #MUI_OBSOLETE=1
  1062. #MUIM_Application_GetMenuState        = $8042a58f ; V4
  1063. CEND ; MUI_OBSOLETE
  1064. CNIF #MUI_OBSOLETE=1
  1065. #MUIM_Application_Input               = $8042d0f5 ; V4
  1066. CEND ; MUI_OBSOLETE
  1067. #MUIM_Application_InputBuffered       = $80427e59 ; V4
  1068. #MUIM_Application_Load                = $8042f90d ; V4
  1069. #MUIM_Application_NewInput            = $80423ba6 ; V11
  1070. #MUIM_Application_OpenConfigWindow    = $804299ba ; V11
  1071. #MUIM_Application_PushMethod          = $80429ef8 ; V4
  1072. #MUIM_Application_RemInputHandler     = $8042e7af ; V11
  1073. #MUIM_Application_ReturnID            = $804276ef ; V4
  1074. #MUIM_Application_Save                = $804227ef ; V4
  1075. #MUIM_Application_SetConfigItem       = $80424a80 ; V11
  1076. CNIF #MUI_OBSOLETE=1
  1077. #MUIM_Application_SetMenuCheck        = $8042a707 ; V4
  1078. CEND ; MUI_OBSOLETE
  1079. CNIF #MUI_OBSOLETE=1
  1080. #MUIM_Application_SetMenuState        = $80428bef ; V4
  1081. CEND ; MUI_OBSOLETE
  1082. #MUIM_Application_ShowHelp            = $80426479 ; V4
  1083. NEWTYPE.MUIP_Application_AboutMUI  MethodID.l: *refwindow.b : End NEWTYPE
  1084. ;/Normally .Object                                       ^
  1085. NEWTYPE.MUIP_Application_AddInputHandler    MethodID.l:*ihnode.MUI_InputHandlerNode : End NEWTYPE
  1086. NEWTYPE.MUIP_Application_CheckRefresh       MethodID.l: End NEWTYPE
  1087. NEWTYPE.MUIP_Application_GetMenuCheck       MethodID.l:MenuID.l : End NEWTYPE
  1088. NEWTYPE.MUIP_Application_GetMenuState       MethodID.l:MenuID.l : End NEWTYPE
  1089. NEWTYPE.MUIP_Application_Input     MethodID.l: *signal.l : End NEWTYPE
  1090. NEWTYPE.MUIP_Application_InputBuffered      MethodID.l: End NEWTYPE
  1091. NEWTYPE.MUIP_Application_Load      MethodID.l: *name.b : End NEWTYPE
  1092. NEWTYPE.MUIP_Application_NewInput  MethodID.l: *signal.l : End NEWTYPE
  1093. NEWTYPE.MUIP_Application_OpenConfigWindow   MethodID.l:flags.l : End NEWTYPE
  1094. NEWTYPE.MUIP_Application_PushMethod         MethodID.l:*dest.b:count.l : End NEWTYPE
  1095. ;/Normally .Object                                          ^
  1096. NEWTYPE.MUIP_Application_RemInputHandler    MethodID.l:*ihnode.MUI_InputHandlerNode : End NEWTYPE
  1097. NEWTYPE.MUIP_Application_ReturnID  MethodID.l: retid.l : End NEWTYPE
  1098. NEWTYPE.MUIP_Application_Save      MethodID.l: *name.b : End NEWTYPE
  1099. NEWTYPE.MUIP_Application_SetConfigItem      MethodID.l:item.l: *_data.b: : End NEWTYPE
  1100. ;/Normally data (no _)                                          ^
  1101. NEWTYPE.MUIP_Application_SetMenuCheck       MethodID.l:MenuID.l:stat.l : End NEWTYPE
  1102. NEWTYPE.MUIP_Application_SetMenuState       MethodID.l:MenuID.l:stat.l : End NEWTYPE
  1103. NEWTYPE.MUIP_Application_ShowHelp  MethodID.l:*_window.b:*name.b:*node.b:_line.l: End NEWTYPE
  1104. ;/Normally .Object                                    ^
  1105. ;/Normally window and line (no _)              ^                         ^
  1106.  
  1107. ; Attributes
  1108.  
  1109. #MUIA_Application_Active              = $804260ab ; V4  isg BOOL
  1110. #MUIA_Application_Author              = $80424842 ; V4  i.g STRPTR
  1111. #MUIA_Application_Base                = $8042e07a ; V4  i.g STRPTR
  1112. #MUIA_Application_Broker              = $8042dbce ; V4  ..g Broker *
  1113. #MUIA_Application_BrokerHook          = $80428f4b ; V4  isg struct Hook *
  1114. #MUIA_Application_BrokerPort          = $8042e0ad ; V6  ..g struct MsgPort *
  1115. #MUIA_Application_BrokerPri           = $8042c8d0 ; V6  i.g LONG
  1116. #MUIA_Application_Commands            = $80428648 ; V4  isg struct MUI_Command *
  1117. #MUIA_Application_Copyright           = $8042ef4d ; V4  i.g STRPTR
  1118. #MUIA_Application_Description         = $80421fc6 ; V4  i.g STRPTR
  1119. #MUIA_Application_DiskObject          = $804235cb ; V4  isg struct DiskObject *
  1120. #MUIA_Application_DoubleStart         = $80423bc6 ; V4  ..g BOOL
  1121. #MUIA_Application_DropObject          = $80421266 ; V5  is. Object *
  1122. #MUIA_Application_ForceQuit           = $804257df ; V8  ..g BOOL
  1123. #MUIA_Application_HelpFile            = $804293f4 ; V8  isg STRPTR
  1124. #MUIA_Application_Iconified           = $8042a07f ; V4  .sg BOOL
  1125. CNIF #MUI_OBSOLETE=1
  1126. #MUIA_Application_Menu                = $80420e1f ; V4  i.g struct NewMenu *
  1127. CEND ; MUI_OBSOLETE
  1128. #MUIA_Application_MenuAction          = $80428961 ; V4  ..g ULONG
  1129. #MUIA_Application_MenuHelp            = $8042540b ; V4  ..g ULONG
  1130. #MUIA_Application_Menustrip           = $804252d9 ; V8  i.. Object *
  1131. #MUIA_Application_RexxHook            = $80427c42 ; V7  isg struct Hook *
  1132. #MUIA_Application_RexxMsg             = $8042fd88 ; V4  ..g struct RxMsg *
  1133. #MUIA_Application_RexxString          = $8042d711 ; V4  .s. STRPTR
  1134. #MUIA_Application_SingleTask          = $8042a2c8 ; V4  i.. BOOL
  1135. #MUIA_Application_Sleep               = $80425711 ; V4  .s. BOOL
  1136. #MUIA_Application_Title               = $804281b8 ; V4  i.g STRPTR
  1137. #MUIA_Application_UseCommodities      = $80425ee5 ; V10 i.. BOOL
  1138. #MUIA_Application_UseRexx             = $80422387 ; V10 i.. BOOL
  1139. #MUIA_Application_Version             = $8042b33f ; V4  i.g STRPTR
  1140. #MUIA_Application_Window              = $8042bfe0 ; V4  i.. Object *
  1141. #MUIA_Application_WindowList          = $80429abe ; V13 ..g struct List *
  1142.  
  1143. #MUIV_Application_Package_NetConnect  = $a3ff7b49
  1144.  
  1145.  
  1146. ;**************************************************************************
  1147. ;* Window                                                                 *
  1148. ;**************************************************************************
  1149.  
  1150. Macro MUIC_Window "Window.mui" : End Macro
  1151.  
  1152. ; Methods
  1153.  
  1154. #MUIM_Window_AddEventHandler          = $804203b7 ; V16
  1155. CNIF #MUI_OBSOLETE=1
  1156. #MUIM_Window_GetMenuCheck             = $80420414 ; V4
  1157. CEND ; MUI_OBSOLETE
  1158. CNIF #MUI_OBSOLETE=1
  1159. #MUIM_Window_GetMenuState             = $80420d2f ; V4
  1160. CEND ; MUI_OBSOLETE
  1161. #MUIM_Window_RemEventHandler          = $8042679e ; V16
  1162. #MUIM_Window_ScreenToBack             = $8042913d ; V4
  1163. #MUIM_Window_ScreenToFront            = $804227a4 ; V4
  1164. CNIF #MUI_OBSOLETE=1
  1165. #MUIM_Window_SetCycleChain            = $80426510 ; V4
  1166. CEND ; MUI_OBSOLETE
  1167. CNIF #MUI_OBSOLETE=1
  1168. #MUIM_Window_SetMenuCheck             = $80422243 ; V4
  1169. CEND ; MUI_OBSOLETE
  1170. CNIF #MUI_OBSOLETE=1
  1171. #MUIM_Window_SetMenuState             = $80422b5e ; V4
  1172. CEND ; MUI_OBSOLETE
  1173. #MUIM_Window_Snapshot                 = $8042945e ; V11
  1174. #MUIM_Window_ToBack                   = $8042152e ; V4
  1175. #MUIM_Window_ToFront                  = $8042554f ; V4
  1176. NEWTYPE.MUIP_Window_AddEventHandler         MethodID.l:*ehnode.MUI_EventHandlerNode : End NEWTYPE
  1177. NEWTYPE.MUIP_Window_GetMenuCheck   MethodID.l: MenuID.l : End NEWTYPE
  1178. NEWTYPE.MUIP_Window_GetMenuState   MethodID.l: MenuID.l : End NEWTYPE
  1179. NEWTYPE.MUIP_Window_RemEventHandler         MethodID.l:*ehnode.MUI_EventHandlerNode : End NEWTYPE
  1180. NEWTYPE.MUIP_Window_ScreenToBack            MethodID.l: End NEWTYPE
  1181. NEWTYPE.MUIP_Window_ScreenToFront           MethodID.l: End NEWTYPE
  1182. NEWTYPE.MUIP_Window_SetCycleChain  MethodID.l: *obj.b[1] : End NEWTYPE
  1183. ;/Normally .Object                                 ^
  1184. NEWTYPE.MUIP_Window_SetMenuCheck   MethodID.l: MenuID.l: stat.l : End NEWTYPE
  1185. NEWTYPE.MUIP_Window_SetMenuState   MethodID.l: MenuID.l: stat.l : End NEWTYPE
  1186. NEWTYPE.MUIP_Window_Snapshot       MethodID.l: flags.l : End NEWTYPE
  1187. NEWTYPE.MUIP_Window_ToBack                  MethodID.l: End NEWTYPE
  1188. NEWTYPE.MUIP_Window_ToFront                 MethodID.l: End NEWTYPE
  1189.  
  1190. ; Attributes
  1191.  
  1192. #MUIA_Window_Activate                 = $80428d2f ; V4  isg BOOL
  1193. #MUIA_Window_ActiveObject             = $80427925 ; V4  .sg Object *
  1194. #MUIA_Window_AltHeight                = $8042cce3 ; V4  i.g LONG
  1195. #MUIA_Window_AltLeftEdge              = $80422d65 ; V4  i.g LONG
  1196. #MUIA_Window_AltTopEdge               = $8042e99b ; V4  i.g LONG
  1197. #MUIA_Window_AltWidth                 = $804260f4 ; V4  i.g LONG
  1198. #MUIA_Window_AppWindow                = $804280cf ; V5  i.. BOOL
  1199. #MUIA_Window_Backdrop                 = $8042c0bb ; V4  i.. BOOL
  1200. #MUIA_Window_Borderless               = $80429b79 ; V4  i.. BOOL
  1201. #MUIA_Window_CloseGadget              = $8042a110 ; V4  i.. BOOL
  1202. #MUIA_Window_CloseRequest             = $8042e86e ; V4  ..g BOOL
  1203. #MUIA_Window_DefaultObject            = $804294d7 ; V4  isg Object *
  1204. #MUIA_Window_DepthGadget              = $80421923 ; V4  i.. BOOL
  1205. #MUIA_Window_DragBar                  = $8042045d ; V4  i.. BOOL
  1206. #MUIA_Window_FancyDrawing             = $8042bd0e ; V8  isg BOOL
  1207. #MUIA_Window_Height                   = $80425846 ; V4  i.g LONG
  1208. #MUIA_Window_ID                       = $804201bd ; V4  isg ULONG
  1209. #MUIA_Window_InputEvent               = $804247d8 ; V4  ..g struct InputEvent *
  1210. #MUIA_Window_IsSubWindow              = $8042b5aa ; V4  isg BOOL
  1211. #MUIA_Window_LeftEdge                 = $80426c65 ; V4  i.g LONG
  1212. CNIF #MUI_OBSOLETE=1
  1213. #MUIA_Window_Menu                     = $8042db94 ; V4  i.. struct NewMenu *
  1214. CEND ; MUI_OBSOLETE
  1215. #MUIA_Window_MenuAction               = $80427521 ; V8  isg ULONG
  1216. #MUIA_Window_Menustrip                = $8042855e ; V8  i.g Object *
  1217. #MUIA_Window_MouseObject              = $8042bf9b ; V10 ..g Object *
  1218. #MUIA_Window_NeedsMouseObject         = $8042372a ; V10 i.. BOOL
  1219. #MUIA_Window_NoMenus                  = $80429df5 ; V4  is. BOOL
  1220. #MUIA_Window_Open                     = $80428aa0 ; V4  .sg BOOL
  1221. #MUIA_Window_PublicScreen             = $804278e4 ; V6  isg STRPTR
  1222. #MUIA_Window_RefWindow                = $804201f4 ; V4  is. Object *
  1223. #MUIA_Window_RootObject               = $8042cba5 ; V4  isg Object *
  1224. #MUIA_Window_Screen                   = $8042df4f ; V4  isg struct Screen *
  1225. #MUIA_Window_ScreenTitle              = $804234b0 ; V5  isg STRPTR
  1226. #MUIA_Window_SizeGadget               = $8042e33d ; V4  i.. BOOL
  1227. #MUIA_Window_SizeRight                = $80424780 ; V4  i.. BOOL
  1228. #MUIA_Window_Sleep                    = $8042e7db ; V4  .sg BOOL
  1229. #MUIA_Window_Title                    = $8042ad3d ; V4  isg STRPTR
  1230. #MUIA_Window_TopEdge                  = $80427c66 ; V4  i.g LONG
  1231. #MUIA_Window_UseBottomBorderScroller  = $80424e79 ; V13 isg BOOL
  1232. #MUIA_Window_UseLeftBorderScroller    = $8042433e ; V13 isg BOOL
  1233. #MUIA_Window_UseRightBorderScroller   = $8042c05e ; V13 isg BOOL
  1234. #MUIA_Window_Width                    = $8042dcae ; V4  i.g LONG
  1235. #MUIA_Window_Window                   = $80426a42 ; V4  ..g struct Window *
  1236.  
  1237. #MUIV_Window_ActiveObject_None = 0
  1238. #MUIV_Window_ActiveObject_Next = -1
  1239. #MUIV_Window_ActiveObject_Prev = -2
  1240. Macro MUIV_Window_AltHeight_MinMax (0-(`1)) : End Macro
  1241. Macro MUIV_Window_AltHeight_Visible (-100-(`1)) : End Macro
  1242. Macro MUIV_Window_AltHeight_Screen (-200-(`1)) : End Macro
  1243. #MUIV_Window_AltHeight_Scaled = -1000
  1244. #MUIV_Window_AltLeftEdge_Centered = -1
  1245. #MUIV_Window_AltLeftEdge_Moused = -2
  1246. #MUIV_Window_AltLeftEdge_NoChange = -1000
  1247. #MUIV_Window_AltTopEdge_Centered = -1
  1248. #MUIV_Window_AltTopEdge_Moused = -2
  1249. Macro MUIV_Window_AltTopEdge_Delta (-3-(`1)) : End Macro
  1250. #MUIV_Window_AltTopEdge_NoChange = -1000
  1251. Macro MUIV_Window_AltWidth_MinMax (0-(`1)) : End Macro
  1252. Macro MUIV_Window_AltWidth_Visible (-100-(`1)) : End Macro
  1253. Macro MUIV_Window_AltWidth_Screen (-200-(`1)) : End Macro
  1254. #MUIV_Window_AltWidth_Scaled = -1000
  1255. Macro MUIV_Window_Height_MinMax (0-(`1)) : End Macro
  1256. Macro MUIV_Window_Height_Visible (-100-(`1)) : End Macro
  1257. Macro MUIV_Window_Height_Screen (-200-(`1)) : End Macro
  1258. #MUIV_Window_Height_Scaled =-1000
  1259. #MUIV_Window_Height_Default= -1001
  1260. #MUIV_Window_LeftEdge_Centered =-1
  1261. #MUIV_Window_LeftEdge_Moused =-2
  1262. CNIF #MUI_OBSOLETE=1
  1263. #MUIV_Window_Menu_NoMenu =-1
  1264. CEND ; MUI_OBSOLETE
  1265. #MUIV_Window_TopEdge_Centered= -1
  1266. #MUIV_Window_TopEdge_Moused =-2
  1267. Macro MUIV_Window_TopEdge_Delta (-3-(`1)) : End Macro
  1268. Macro MUIV_Window_Width_MinMax (0-(`1)) : End Macro
  1269. Macro MUIV_Window_Width_Visible (-100-(`1)) : End Macro
  1270. Macro MUIV_Window_Width_Screen (-200-(`1)) : End Macro
  1271. #MUIV_Window_Width_Scaled =-1000
  1272. #MUIV_Window_Width_Default= -1001
  1273.  
  1274.  
  1275. ;**************************************************************************
  1276. ;* Aboutmui                                                               *
  1277. ;**************************************************************************
  1278.  
  1279. Macro MUIC_Aboutmui "Aboutmui.mui" : End Macro
  1280.  
  1281. ; Methods
  1282.  
  1283.  
  1284. ; Attributes
  1285.  
  1286. #MUIA_Aboutmui_Application            = $80422523 ; V11 i.. Object *
  1287.  
  1288.  
  1289.  
  1290. ;**************************************************************************
  1291. ;* Area                                                                   *
  1292. ;**************************************************************************
  1293.  
  1294. Macro MUIC_Area "Area.mui" : End Macro
  1295.  
  1296. ; Methods
  1297.  
  1298. #MUIM_AskMinMax                       = $80423874 ; Custom Class  ; V4
  1299. #MUIM_Cleanup                         = $8042d985 ; Custom Class  ; V4
  1300. #MUIM_ContextMenuBuild                = $80429d2e ; V11
  1301. #MUIM_ContextMenuChoice               = $80420f0e ; V11
  1302. #MUIM_CreateBubble                    = $80421c41 ; V18
  1303. #MUIM_CreateShortHelp                 = $80428e93 ; V11
  1304. #MUIM_DeleteBubble                    = $804211af ; V18
  1305. #MUIM_DeleteShortHelp                 = $8042d35a ; V11
  1306. #MUIM_DragBegin                       = $8042c03a ; V11
  1307. #MUIM_DragDrop                        = $8042c555 ; V11
  1308. #MUIM_DragFinish                      = $804251f0 ; V11
  1309. #MUIM_DragQuery                       = $80420261 ; V11
  1310. #MUIM_DragReport                      = $8042edad ; V11
  1311. #MUIM_Draw                            = $80426f3f ; Custom Class  ; V4
  1312. #MUIM_DrawBackground                  = $804238ca ; V11
  1313. #MUIM_HandleEvent                     = $80426d66 ; Custom Class  ; V16
  1314. #MUIM_HandleInput                     = $80422a1a ; Custom Class  ; V4
  1315. #MUIM_Hide                            = $8042f20f ; Custom Class  ; V4
  1316. #MUIM_Setup                           = $80428354 ; Custom Class  ; V4
  1317. #MUIM_Show                            = $8042cc84 ; Custom Class  ; V4
  1318. NEWTYPE.MUIP_AskMinMax             MethodID.l: *MinMaxInfo.MUI_MinMax : End NEWTYPE ; Custom Class
  1319. NEWTYPE.MUIP_Cleanup                        MethodID.l: End NEWTYPE ; Custom Class
  1320. NEWTYPE.MUIP_ContextMenuBuild      MethodID.l: mx.l:my.l : End NEWTYPE
  1321. NEWTYPE.MUIP_ContextMenuChoice     MethodID.l: *item.b : End NEWTYPE
  1322. ;/Normally .Object                                  ^
  1323. NEWTYPE.MUIP_CreateBubble          MethodID.l:x.l:y.l:*txt.b: flags.l : End NEWTYPE
  1324. NEWTYPE.MUIP_CreateShortHelp       MethodID.l: mx.l: my.l : End NEWTYPE
  1325. NEWTYPE.MUIP_DeleteBubble          MethodID.l: *bubble.b : End NEWTYPE
  1326. NEWTYPE.MUIP_DeleteShortHelp       MethodID.l: *help.b : End NEWTYPE
  1327. NEWTYPE.MUIP_DragBegin             MethodID.l: *obj.b : End NEWTYPE
  1328. ;/Normally .Object                                 ^
  1329. NEWTYPE.MUIP_DragDrop              MethodID.l: *obj.b:x.l:y.l : End NEWTYPE
  1330. ;/Normally .Object                                 ^
  1331. NEWTYPE.MUIP_DragFinish            MethodID.l: *obj.b : End NEWTYPE
  1332. ;/Normally .Object                                 ^
  1333. NEWTYPE.MUIP_DragQuery             MethodID.l: *obj.b : End NEWTYPE
  1334. ;/Normally .Object                                 ^
  1335. NEWTYPE.MUIP_DragReport            MethodID.l: *obj.b:x.l:y.l:update.l : End NEWTYPE
  1336. ;/Normally .Object                                 ^
  1337. NEWTYPE.MUIP_Draw                  MethodID.l: flags.l : End NEWTYPE ; Custom Class
  1338. NEWTYPE.MUIP_DrawBackground        MethodID.l:left.l:top.l:width.l:height.l:xoffset.l:yoffset.l:flags.l : End NEWTYPE
  1339. NEWTYPE.MUIP_HandleEvent           MethodID.l:*imsg.b:muikey.l : End NEWTYPE ; Custom Clas
  1340. ;/Normally .IntuiMessage                           ^
  1341. NEWTYPE.MUIP_HandleInput           MethodID.l:*imsg.b:muikey.l : End NEWTYPE ; Custom Clas
  1342. ;/Normally .IntuiMessage                           ^
  1343. NEWTYPE.MUIP_Hide                           MethodID.l: End NEWTYPE ; Custom Class
  1344. NEWTYPE.MUIP_Setup                 MethodID.l:*RenderInfo.MUI_RenderInfo : End NEWTYPE ; Custom Class
  1345. NEWTYPE.MUIP_Show                           MethodID.l: End NEWTYPE ; Custom Class
  1346.  
  1347. ; Attributes
  1348.  
  1349. #MUIA_Background                      = $8042545b ; V4  is. LONG
  1350. #MUIA_BottomEdge                      = $8042e552 ; V4  ..g LONG
  1351. #MUIA_ContextMenu                     = $8042b704 ; V11 isg Object *
  1352. #MUIA_ContextMenuTrigger              = $8042a2c1 ; V11 ..g Object *
  1353. #MUIA_ControlChar                     = $8042120b ; V4  isg char
  1354. #MUIA_CycleChain                      = $80421ce7 ; V11 isg LONG
  1355. #MUIA_Disabled                        = $80423661 ; V4  isg BOOL
  1356. #MUIA_Draggable                       = $80420b6e ; V11 isg BOOL
  1357. #MUIA_Dropable                        = $8042fbce ; V11 isg BOOL
  1358. CNIF #MUI_OBSOLETE=1
  1359. #MUIA_ExportID                        = $8042d76e ; V4  isg ULONG
  1360. CEND ; MUI_OBSOLETE
  1361. #MUIA_FillArea                        = $804294a3 ; V4  is. BOOL
  1362. #MUIA_FixHeight                       = $8042a92b ; V4  i.. LONG
  1363. #MUIA_FixHeightTxt                    = $804276f2 ; V4  i.. STRPTR
  1364. #MUIA_FixWidth                        = $8042a3f1 ; V4  i.. LONG
  1365. #MUIA_FixWidthTxt                     = $8042d044 ; V4  i.. STRPTR
  1366. #MUIA_Font                            = $8042be50 ; V4  i.g struct TextFont *
  1367. #MUIA_Frame                           = $8042ac64 ; V4  i.. LONG
  1368. #MUIA_FramePhantomHoriz               = $8042ed76 ; V4  i.. BOOL
  1369. #MUIA_FrameTitle                      = $8042d1c7 ; V4  i.. STRPTR
  1370. #MUIA_Height                          = $80423237 ; V4  ..g LONG
  1371. #MUIA_HorizDisappear                  = $80429615 ; V11 isg LONG
  1372. #MUIA_HorizWeight                     = $80426db9 ; V4  isg WORD
  1373. #MUIA_InnerBottom                     = $8042f2c0 ; V4  i.g LONG
  1374. #MUIA_InnerLeft                       = $804228f8 ; V4  i.g LONG
  1375. #MUIA_InnerRight                      = $804297ff ; V4  i.g LONG
  1376. #MUIA_InnerTop                        = $80421eb6 ; V4  i.g LONG
  1377. #MUIA_InputMode                       = $8042fb04 ; V4  i.. LONG
  1378. #MUIA_LeftEdge                        = $8042bec6 ; V4  ..g LONG
  1379. #MUIA_MaxHeight                       = $804293e4 ; V11 i.. LONG
  1380. #MUIA_MaxWidth                        = $8042f112 ; V11 i.. LONG
  1381. #MUIA_Pressed                         = $80423535 ; V4  ..g BOOL
  1382. #MUIA_RightEdge                       = $8042ba82 ; V4  ..g LONG
  1383. #MUIA_Selected                        = $8042654b ; V4  isg BOOL
  1384. #MUIA_ShortHelp                       = $80428fe3 ; V11 isg STRPTR
  1385. #MUIA_ShowMe                          = $80429ba8 ; V4  isg BOOL
  1386. #MUIA_ShowSelState                    = $8042caac ; V4  i.. BOOL
  1387. #MUIA_Timer                           = $80426435 ; V4  ..g LONG
  1388. #MUIA_TopEdge                         = $8042509b ; V4  ..g LONG
  1389. #MUIA_VertDisappear                   = $8042d12f ; V11 isg LONG
  1390. #MUIA_VertWeight                      = $804298d0 ; V4  isg WORD
  1391. #MUIA_Weight                          = $80421d1f ; V4  i.. WORD
  1392. #MUIA_Width                           = $8042b59c ; V4  ..g LONG
  1393. #MUIA_Window                          = $80421591 ; V4  ..g struct Window *
  1394. #MUIA_WindowObject                    = $8042669e ; V4  ..g Object *
  1395.  
  1396. #MUIV_Font_Inherit =0
  1397. #MUIV_Font_Normal =-1
  1398. #MUIV_Font_List =-2
  1399. #MUIV_Font_Tiny =-3
  1400. #MUIV_Font_Fixed =-4
  1401. #MUIV_Font_Title =-5
  1402. #MUIV_Font_Big =-6
  1403. #MUIV_Font_Button =-7
  1404. #MUIV_Frame_None =0
  1405. #MUIV_Frame_Button =1
  1406. #MUIV_Frame_ImageButton= 2
  1407. #MUIV_Frame_Text =3
  1408. #MUIV_Frame_String =4
  1409. #MUIV_Frame_ReadList= 5
  1410. #MUIV_Frame_InputList= 6
  1411. #MUIV_Frame_Prop =7
  1412. #MUIV_Frame_Gauge =8
  1413. #MUIV_Frame_Group =9
  1414. #MUIV_Frame_PopUp =10
  1415. #MUIV_Frame_Virtual= 11
  1416. #MUIV_Frame_Slider =12
  1417. #MUIV_Frame_Count =13
  1418. #MUIV_InputMode_None =0
  1419. #MUIV_InputMode_RelVerify =1
  1420. #MUIV_InputMode_Immediate =2
  1421. #MUIV_InputMode_Toggle =3
  1422.  
  1423.  
  1424. ;**************************************************************************
  1425. ;* Rectangle                                                              *
  1426. ;**************************************************************************
  1427.  
  1428. Macro MUIC_Rectangle "Rectangle.mui" : End Macro
  1429.  
  1430. ; Attributes
  1431.  
  1432. #MUIA_Rectangle_BarTitle              = $80426689 ; V11 i.g STRPTR
  1433. #MUIA_Rectangle_HBar                  = $8042c943 ; V7  i.g BOOL
  1434. #MUIA_Rectangle_VBar                  = $80422204 ; V7  i.g BOOL
  1435.  
  1436.  
  1437.  
  1438. ;**************************************************************************
  1439. ;* Balance                                                                *
  1440. ;**************************************************************************
  1441.  
  1442. Macro MUIC_Balance "Balance.mui" : End Macro
  1443.  
  1444.  
  1445. ;**************************************************************************
  1446. ;* Image                                                                  *
  1447. ;**************************************************************************
  1448.  
  1449. Macro MUIC_Image "Image.mui" : End Macro
  1450.  
  1451. ; Attributes
  1452.  
  1453. #MUIA_Image_FontMatch                 = $8042815d ; V4  i.. BOOL
  1454. #MUIA_Image_FontMatchHeight           = $80429f26 ; V4  i.. BOOL
  1455. #MUIA_Image_FontMatchWidth            = $804239bf ; V4  i.. BOOL
  1456. #MUIA_Image_FreeHoriz                 = $8042da84 ; V4  i.. BOOL
  1457. #MUIA_Image_FreeVert                  = $8042ea28 ; V4  i.. BOOL
  1458. #MUIA_Image_OldImage                  = $80424f3d ; V4  i.. struct Image *
  1459. #MUIA_Image_Spec                      = $804233d5 ; V4  i.. char *
  1460. #MUIA_Image_State                     = $8042a3ad ; V4  is. LONG
  1461.  
  1462.  
  1463.  
  1464. ;**************************************************************************
  1465. ;* Bitmap                                                                 *
  1466. ;**************************************************************************
  1467.  
  1468. Macro MUIC_Bitmap "Bitmap.mui" : End Macro
  1469.  
  1470. ; Attributes
  1471.  
  1472. #MUIA_Bitmap_Bitmap                   = $804279bd ; V8  isg struct BitMap *
  1473. #MUIA_Bitmap_Height                   = $80421560 ; V8  isg LONG
  1474. #MUIA_Bitmap_MappingTable             = $8042e23d ; V8  isg UBYTE *
  1475. #MUIA_Bitmap_Precision                = $80420c74 ; V11 isg LONG
  1476. #MUIA_Bitmap_RemappedBitmap           = $80423a47 ; V11 ..g struct BitMap *
  1477. #MUIA_Bitmap_SourceColors             = $80425360 ; V8  isg ULONG *
  1478. #MUIA_Bitmap_Transparent              = $80422805 ; V8  isg LONG
  1479. #MUIA_Bitmap_UseFriend                = $804239d8 ; V11 i.. BOOL
  1480. #MUIA_Bitmap_Width                    = $8042eb3a ; V8  isg LONG
  1481.  
  1482.  
  1483.  
  1484. ;**************************************************************************
  1485. ;* Bodychunk                                                              *
  1486. ;**************************************************************************
  1487.  
  1488. Macro MUIC_Bodychunk "Bodychunk.mui" : End Macro
  1489.  
  1490. ; Attributes
  1491.  
  1492. #MUIA_Bodychunk_Body                  = $8042ca67 ; V8  isg UBYTE *
  1493. #MUIA_Bodychunk_Compression           = $8042de5f ; V8  isg UBYTE
  1494. #MUIA_Bodychunk_Depth                 = $8042c392 ; V8  isg LONG
  1495. #MUIA_Bodychunk_Masking               = $80423b0e ; V8  isg UBYTE
  1496.  
  1497.  
  1498.  
  1499. ;**************************************************************************
  1500. ;* Text                                                                   *
  1501. ;**************************************************************************
  1502.  
  1503. Macro MUIC_Text "Text.mui" : End Macro
  1504.  
  1505. ; Attributes
  1506.  
  1507. #MUIA_Text_Contents                   = $8042f8Dc ; V4  isg STRPTR
  1508. #MUIA_Text_HiChar                     = $804218ff ; V4  i.. char
  1509. #MUIA_Text_PreParse                   = $8042566d ; V4  isg STRPTR
  1510. #MUIA_Text_SetMax                     = $80424d0a ; V4  i.. BOOL
  1511. #MUIA_Text_SetMin                     = $80424e10 ; V4  i.. BOOL
  1512. #MUIA_Text_SetVMax                    = $80420d8b ; V11 i.. BOOL
  1513.  
  1514.  
  1515.  
  1516. ;**************************************************************************
  1517. ;* Gadget                                                                 *
  1518. ;**************************************************************************
  1519.  
  1520. Macro MUIC_Gadget "Gadget.mui" : End Macro
  1521.  
  1522. ; Attributes
  1523.  
  1524. #MUIA_Gadget_Gadget                   = $8042ec1a ; V11 ..g struct Gadget *
  1525.  
  1526.  
  1527.  
  1528. ;**************************************************************************
  1529. ;* String                                                                 *
  1530. ;**************************************************************************
  1531.  
  1532. Macro MUIC_String "String.mui" : End Macro
  1533.  
  1534. ; Methods
  1535.  
  1536.  
  1537. ; Attributes
  1538.  
  1539. #MUIA_String_Accept                   = $8042e3e1 ; V4  isg STRPTR
  1540. #MUIA_String_Acknowledge              = $8042026c ; V4  ..g STRPTR
  1541. #MUIA_String_AdvanceOnCR              = $804226de ; V11 isg BOOL
  1542. #MUIA_String_AttachedList             = $80420fd2 ; V4  isg Object *
  1543. #MUIA_String_BufferPos                = $80428b6c ; V4  .sg LONG
  1544. #MUIA_String_Contents                 = $80428ffd ; V4  isg STRPTR
  1545. #MUIA_String_DisplayPos               = $8042ccbf ; V4  .sg LONG
  1546. #MUIA_String_EditHook                 = $80424c33 ; V7  isg struct Hook *
  1547. #MUIA_String_Format                   = $80427484 ; V4  i.g LONG
  1548. #MUIA_String_Integer                  = $80426e8a ; V4  isg ULONG
  1549. #MUIA_String_LonelyEditHook           = $80421569 ; V11 isg BOOL
  1550. #MUIA_String_MaxLen                   = $80424984 ; V4  i.g LONG
  1551. #MUIA_String_Reject                   = $8042179c ; V4  isg STRPTR
  1552. #MUIA_String_Secret                   = $80428769 ; V4  i.g BOOL
  1553.  
  1554. #MUIV_String_Format_Left =0
  1555. #MUIV_String_Format_Center =1
  1556. #MUIV_String_Format_Right =2
  1557.  
  1558.  
  1559. ;**************************************************************************
  1560. ;* Boopsi                                                                 *
  1561. ;**************************************************************************
  1562.  
  1563. Macro MUIC_Boopsi "Boopsi.mui" : End Macro
  1564.  
  1565. ; Attributes
  1566.  
  1567. #MUIA_Boopsi_Class                    = $80426999 ; V4  isg struct IClass *
  1568. #MUIA_Boopsi_ClassID                  = $8042bfa3 ; V4  isg char *
  1569. #MUIA_Boopsi_MaxHeight                = $8042757f ; V4  isg ULONG
  1570. #MUIA_Boopsi_MaxWidth                 = $8042bcb1 ; V4  isg ULONG
  1571. #MUIA_Boopsi_MinHeight                = $80422c93 ; V4  isg ULONG
  1572. #MUIA_Boopsi_MinWidth                 = $80428fb2 ; V4  isg ULONG
  1573. #MUIA_Boopsi_Object                   = $80420178 ; V4  ..g Object *
  1574. #MUIA_Boopsi_Remember                 = $8042f4bd ; V4  i.. ULONG
  1575. #MUIA_Boopsi_Smart                    = $8042b8d7 ; V9  i.. BOOL
  1576. #MUIA_Boopsi_TagDrawInfo              = $8042bae7 ; V4  isg ULONG
  1577. #MUIA_Boopsi_TagScreen                = $8042bc71 ; V4  isg ULONG
  1578. #MUIA_Boopsi_TagWindow                = $8042e11d ; V4  isg ULONG
  1579.  
  1580.  
  1581.  
  1582. ;**************************************************************************
  1583. ;* Prop                                                                   *
  1584. ;**************************************************************************
  1585.  
  1586. Macro MUIC_Prop "Prop.mui" : End Macro
  1587.  
  1588. ; Methods
  1589.  
  1590. #MUIM_Prop_Decrease                   = $80420dd1 ; V16
  1591. #MUIM_Prop_Increase                   = $8042cac0 ; V16
  1592. NEWTYPE.MUIP_Prop_Decrease         MethodID.l:amount.l : End NEWTYPE
  1593. NEWTYPE.MUIP_Prop_Increase         MethodID.l:amount.l : End NEWTYPE
  1594.  
  1595. ; Attributes
  1596.  
  1597. #MUIA_Prop_Entries                    = $8042fbdb ; V4  isg LONG
  1598. #MUIA_Prop_First                      = $8042d4b2 ; V4  isg LONG
  1599. #MUIA_Prop_Horiz                      = $8042f4f3 ; V4  i.g BOOL
  1600. #MUIA_Prop_Slider                     = $80429c3a ; V4  isg BOOL
  1601. #MUIA_Prop_UseWinBorder               = $8042deee ; V13 i.. LONG
  1602. #MUIA_Prop_Visible                    = $8042fea6 ; V4  isg LONG
  1603.  
  1604. #MUIV_Prop_UseWinBorder_None =0
  1605. #MUIV_Prop_UseWinBorder_Left =1
  1606. #MUIV_Prop_UseWinBorder_Right= 2
  1607. #MUIV_Prop_UseWinBorder_Bottom= 3
  1608.  
  1609.  
  1610. ;**************************************************************************
  1611. ;* Gauge                                                                  *
  1612. ;**************************************************************************
  1613.  
  1614. Macro MUIC_Gauge "Gauge.mui" : End Macro
  1615.  
  1616. ; Attributes
  1617.  
  1618. #MUIA_Gauge_Current                   = $8042f0dd ; V4  isg LONG
  1619. #MUIA_Gauge_Divide                    = $8042d8df ; V4  isg BOOL
  1620. #MUIA_Gauge_Horiz                     = $804232dd ; V4  i.. BOOL
  1621. #MUIA_Gauge_InfoText                  = $8042bf15 ; V7  isg STRPTR
  1622. #MUIA_Gauge_Max                       = $8042bcdb ; V4  isg LONG
  1623.  
  1624.  
  1625.  
  1626. ;**************************************************************************
  1627. ;* Scale                                                                  *
  1628. ;**************************************************************************
  1629.  
  1630. Macro MUIC_Scale "Scale.mui" : End Macro
  1631.  
  1632. ; Attributes
  1633.  
  1634. #MUIA_Scale_Horiz                     = $8042919a ; V4  isg BOOL
  1635.  
  1636.  
  1637.  
  1638. ;**************************************************************************
  1639. ;* Colorfield                                                             *
  1640. ;**************************************************************************
  1641.  
  1642. Macro MUIC_Colorfield "Colorfield.mui" : End Macro
  1643.  
  1644. ; Attributes
  1645.  
  1646. #MUIA_Colorfield_Blue                 = $8042d3b0 ; V4  isg ULONG
  1647. #MUIA_Colorfield_Green                = $80424466 ; V4  isg ULONG
  1648. #MUIA_Colorfield_Pen                  = $8042713a ; V4  ..g ULONG
  1649. #MUIA_Colorfield_Red                  = $804279f6 ; V4  isg ULONG
  1650. #MUIA_Colorfield_RGB                  = $8042677a ; V4  isg ULONG *
  1651.  
  1652.  
  1653.  
  1654. ;**************************************************************************
  1655. ;* List                                                                   *
  1656. ;**************************************************************************
  1657.  
  1658. Macro MUIC_List "List.mui" : End Macro
  1659.  
  1660. ; Methods
  1661.  
  1662. #MUIM_List_Clear                      = $8042ad89 ; V4
  1663. #MUIM_List_CreateImage                = $80429804 ; V11
  1664. #MUIM_List_DeleteImage                = $80420f58 ; V11
  1665. #MUIM_List_Exchange                   = $8042468c ; V4
  1666. #MUIM_List_GetEntry                   = $804280ec ; V4
  1667. #MUIM_List_Insert                     = $80426c87 ; V4
  1668. #MUIM_List_InsertSingle               = $804254d5 ; V7
  1669. #MUIM_List_Jump                       = $8042baab ; V4
  1670. #MUIM_List_Move                       = $804253c2 ; V9
  1671. #MUIM_List_NextSelected               = $80425f17 ; V6
  1672. #MUIM_List_Redraw                     = $80427993 ; V4
  1673. #MUIM_List_Remove                     = $8042647e ; V4
  1674. #MUIM_List_Select                     = $804252d8 ; V4
  1675. #MUIM_List_Sort                       = $80422275 ; V4
  1676. #MUIM_List_TestPos                    = $80425f48 ; V11
  1677. NEWTYPE.MUIP_List_Clear                     MethodID.l: End NEWTYPE
  1678. NEWTYPE.MUIP_List_CreateImage      MethodID.l: *obj.b:flags.l : End NEWTYPE
  1679. ;/Normally .Object                                 ^
  1680. NEWTYPE.MUIP_List_DeleteImage      MethodID.l:*listimg.b : End NEWTYPE
  1681. NEWTYPE.MUIP_List_Exchange         MethodID.l:pos1.l:pos2.l : End NEWTYPE
  1682. NEWTYPE.MUIP_List_GetEntry         MethodID.l:pos.l:*entry.b : End NEWTYPE
  1683. NEWTYPE.MUIP_List_Insert           MethodID.l:*_entries.b:count.l:pos.l : End NEWTYPE
  1684. NEWTYPE.MUIP_List_InsertSingle     MethodID.l:*entry.b:pos.l : End NEWTYPE
  1685. NEWTYPE.MUIP_List_Jump             MethodID.l:pos.l : End NEWTYPE
  1686. NEWTYPE.MUIP_List_Move             MethodID.l:from.l:_to.l : End NEWTYPE
  1687. ;/Normally to (no _)                                 ^
  1688. NEWTYPE.MUIP_List_NextSelected     MethodID.l:*pos.l : End NEWTYPE
  1689. NEWTYPE.MUIP_List_Redraw           MethodID.l:pos.l : End NEWTYPE
  1690. NEWTYPE.MUIP_List_Remove           MethodID.l:pos.l : End NEWTYPE
  1691. NEWTYPE.MUIP_List_Select           MethodID.l:pos.l:seltype.l:*state.l : End NEWTYPE
  1692. NEWTYPE.MUIP_List_Sort                      MethodID.l: End NEWTYPE
  1693. NEWTYPE.MUIP_List_TestPos          MethodID.l:x.l:y.l:*res.MUI_List_TestPos_Result : End NEWTYPE
  1694.  
  1695. ; Attributes
  1696.  
  1697. #MUIA_List_Active                     = $8042391c ; V4  isg LONG
  1698. #MUIA_List_AdjustHeight               = $8042850d ; V4  i.. BOOL
  1699. #MUIA_List_AdjustWidth                = $8042354a ; V4  i.. BOOL
  1700. #MUIA_List_AutoVisible                = $8042a445 ; V11 isg BOOL
  1701. #MUIA_List_CompareHook                = $80425c14 ; V4  is. struct Hook *
  1702. #MUIA_List_ConstructHook              = $8042894f ; V4  is. struct Hook *
  1703. #MUIA_List_DestructHook               = $804297ce ; V4  is. struct Hook *
  1704. #MUIA_List_DisplayHook                = $8042b4d5 ; V4  is. struct Hook *
  1705. #MUIA_List_DragSortable               = $80426099 ; V11 isg BOOL
  1706. #MUIA_List_DropMark                   = $8042aba6 ; V11 ..g LONG
  1707. #MUIA_List_Entries                    = $80421654 ; V4  ..g LONG
  1708. #MUIA_List_First                      = $804238d4 ; V4  ..g LONG
  1709. #MUIA_List_Format                     = $80423c0a ; V4  isg STRPTR
  1710. #MUIA_List_InsertPosition             = $8042d0cd ; V9  ..g LONG
  1711. #MUIA_List_MinLineHeight              = $8042d1c3 ; V4  i.. LONG
  1712. #MUIA_List_MultiTestHook              = $8042c2c6 ; V4  is. struct Hook *
  1713. #MUIA_List_Pool                       = $80423431 ; V13 i.. APTR
  1714. #MUIA_List_PoolPuddleSize             = $8042a4eb ; V13 i.. ULONG
  1715. #MUIA_List_PoolThreshSize             = $8042c48c ; V13 i.. ULONG
  1716. #MUIA_List_Quiet                      = $8042d8c7 ; V4  .s. BOOL
  1717. #MUIA_List_ShowDropMarks              = $8042c6f3 ; V11 isg BOOL
  1718. #MUIA_List_SourceArray                = $8042c0a0 ; V4  i.. APTR
  1719. #MUIA_List_Title                      = $80423e66 ; V6  isg char *
  1720. #MUIA_List_Visible                    = $8042191f ; V4  ..g LONG
  1721.  
  1722. #MUIV_List_Active_Off =-1
  1723. #MUIV_List_Active_Top =-2
  1724. #MUIV_List_Active_Bottom =-3
  1725. #MUIV_List_Active_Up =-4
  1726. #MUIV_List_Active_Down =-5
  1727. #MUIV_List_Active_PageUp =-6
  1728. #MUIV_List_Active_PageDown =-7
  1729. #MUIV_List_ConstructHook_String =-1
  1730. #MUIV_List_CopyHook_String =-1
  1731. #MUIV_List_CursorType_None =0
  1732. #MUIV_List_CursorType_Bar =1
  1733. #MUIV_List_CursorType_Rect =2
  1734. #MUIV_List_DestructHook_String =-1
  1735.  
  1736.  
  1737. ;**************************************************************************
  1738. ;* Floattext                                                              *
  1739. ;**************************************************************************
  1740.  
  1741. Macro MUIC_Floattext "Floattext.mui" : End Macro
  1742.  
  1743. ; Attributes
  1744.  
  1745. #MUIA_Floattext_Justify               = $8042Dc03 ; V4  isg BOOL
  1746. #MUIA_Floattext_SkipChars             = $80425c7d ; V4  is. STRPTR
  1747. #MUIA_Floattext_TabSize               = $80427d17 ; V4  is. LONG
  1748. #MUIA_Floattext_Text                  = $8042d16a ; V4  isg STRPTR
  1749.  
  1750.  
  1751.  
  1752. ;**************************************************************************
  1753. ;* Volumelist                                                             *
  1754. ;**************************************************************************
  1755.  
  1756. Macro MUIC_Volumelist "Volumelist.mui" : End Macro
  1757.  
  1758.  
  1759. ;**************************************************************************
  1760. ;* Scrmodelist                                                            *
  1761. ;**************************************************************************
  1762.  
  1763. Macro MUIC_Scrmodelist "Scrmodelist.mui" : End Macro
  1764.  
  1765. ; Attributes
  1766.  
  1767.  
  1768.  
  1769.  
  1770. ;**************************************************************************
  1771. ;* Dirlist                                                                *
  1772. ;**************************************************************************
  1773.  
  1774. Macro MUIC_Dirlist "Dirlist.mui" : End Macro
  1775.  
  1776. ; Methods
  1777.  
  1778. #MUIM_Dirlist_ReRead                  = $80422d71 ; V4
  1779. NEWTYPE.MUIP_Dirlist_ReRead                 MethodID.l: End NEWTYPE
  1780.  
  1781. ; Attributes
  1782.  
  1783. #MUIA_Dirlist_AcceptPattern           = $8042760a ; V4  is. STRPTR
  1784. #MUIA_Dirlist_Directory               = $8042ea41 ; V4  isg STRPTR
  1785. #MUIA_Dirlist_DrawersOnly             = $8042b379 ; V4  is. BOOL
  1786. #MUIA_Dirlist_FilesOnly               = $8042896a ; V4  is. BOOL
  1787. #MUIA_Dirlist_FilterDrawers           = $80424ad2 ; V4  is. BOOL
  1788. #MUIA_Dirlist_FilterHook              = $8042ae19 ; V4  is. struct Hook *
  1789. #MUIA_Dirlist_MultiSelDirs            = $80428653 ; V6  is. BOOL
  1790. #MUIA_Dirlist_NumBytes                = $80429e26 ; V4  ..g LONG
  1791. #MUIA_Dirlist_NumDrawers              = $80429cb8 ; V4  ..g LONG
  1792. #MUIA_Dirlist_NumFiles                = $8042a6f0 ; V4  ..g LONG
  1793. #MUIA_Dirlist_Path                    = $80426176 ; V4  ..g STRPTR
  1794. #MUIA_Dirlist_RejectIcons             = $80424808 ; V4  is. BOOL
  1795. #MUIA_Dirlist_RejectPattern           = $804259c7 ; V4  is. STRPTR
  1796. #MUIA_Dirlist_SortDirs                = $8042bbb9 ; V4  is. LONG
  1797. #MUIA_Dirlist_SortHighLow             = $80421896 ; V4  is. BOOL
  1798. #MUIA_Dirlist_SortType                = $804228bc ; V4  is. LONG
  1799. #MUIA_Dirlist_Status                  = $804240de ; V4  ..g LONG
  1800.  
  1801. #MUIV_Dirlist_SortDirs_First =0
  1802. #MUIV_Dirlist_SortDirs_Last =1
  1803. #MUIV_Dirlist_SortDirs_Mix =2
  1804. #MUIV_Dirlist_SortType_Name =0
  1805. #MUIV_Dirlist_SortType_Date =1
  1806. #MUIV_Dirlist_SortType_Size =2
  1807. #MUIV_Dirlist_Status_Invalid =0
  1808. #MUIV_Dirlist_Status_Reading =1
  1809. #MUIV_Dirlist_Status_Valid =2
  1810.  
  1811.  
  1812. ;**************************************************************************
  1813. ;* Numeric                                                                *
  1814. ;**************************************************************************
  1815.  
  1816. Macro MUIC_Numeric "Numeric.mui" : End Macro
  1817.  
  1818. ; Methods
  1819.  
  1820. #MUIM_Numeric_Decrease                = $804243a7 ; V11
  1821. #MUIM_Numeric_Increase                = $80426ecd ; V11
  1822. #MUIM_Numeric_ScaleToValue            = $8042032c ; V11
  1823. #MUIM_Numeric_SetDefault              = $8042ab0a ; V11
  1824. #MUIM_Numeric_Stringify               = $80424891 ; V11
  1825. #MUIM_Numeric_ValueToScale            = $80423e4f ; V11
  1826. NEWTYPE.MUIP_Numeric_Decrease      MethodID.l:amount.l : End NEWTYPE
  1827. NEWTYPE.MUIP_Numeric_Increase      MethodID.l:amount.l : End NEWTYPE
  1828. NEWTYPE.MUIP_Numeric_ScaleToValue  MethodID.l:scalemin.l:scalemax.l:_scale.l : End NEWTYPE
  1829. ;/Normally scale (no _)                                             ^
  1830. NEWTYPE.MUIP_Numeric_SetDefault             MethodID.l: End NEWTYPE
  1831. NEWTYPE.MUIP_Numeric_Stringify     MethodID.l:value.l : End NEWTYPE
  1832. NEWTYPE.MUIP_Numeric_ValueToScale  MethodID.l:scalemin.l:scalemax.l : End NEWTYPE
  1833.  
  1834. ; Attributes
  1835.  
  1836. #MUIA_Numeric_CheckAllSizes           = $80421594 ; V11 isg BOOL
  1837. #MUIA_Numeric_Default                 = $804263e8 ; V11 isg LONG
  1838. #MUIA_Numeric_Format                  = $804263e9 ; V11 isg STRPTR
  1839. #MUIA_Numeric_Max                     = $8042d78a ; V11 isg LONG
  1840. #MUIA_Numeric_Min                     = $8042e404 ; V11 isg LONG
  1841. #MUIA_Numeric_Reverse                 = $8042f2a0 ; V11 isg BOOL
  1842. #MUIA_Numeric_RevLeftRight            = $804294a7 ; V11 isg BOOL
  1843. #MUIA_Numeric_RevUpDown               = $804252dd ; V11 isg BOOL
  1844. #MUIA_Numeric_Value                   = $8042ae3a ; V11 isg LONG
  1845.  
  1846.  
  1847.  
  1848. ;**************************************************************************
  1849. ;* Knob                                                                   *
  1850. ;**************************************************************************
  1851.  
  1852. Macro MUIC_Knob "Knob.mui" : End Macro
  1853.  
  1854.  
  1855. ;**************************************************************************
  1856. ;* Levelmeter                                                             *
  1857. ;**************************************************************************
  1858.  
  1859. Macro MUIC_Levelmeter "Levelmeter.mui" : End Macro
  1860.  
  1861. ; Attributes
  1862.  
  1863. #MUIA_Levelmeter_Label                = $80420dd5 ; V11 isg STRPTR
  1864.  
  1865.  
  1866.  
  1867. ;**************************************************************************
  1868. ;* Numericbutton                                                          *
  1869. ;**************************************************************************
  1870.  
  1871. Macro MUIC_Numericbutton "Numericbutton.mui" : End Macro
  1872.  
  1873.  
  1874. ;**************************************************************************
  1875. ;* Slider                                                                 *
  1876. ;**************************************************************************
  1877.  
  1878. Macro MUIC_Slider "Slider.mui" : End Macro
  1879.  
  1880. ; Attributes
  1881.  
  1882. #MUIA_Slider_Horiz                    = $8042fad1 ; V11 isg BOOL
  1883. CNIF #MUI_OBSOLETE=1
  1884. #MUIA_Slider_Level                    = $8042ae3a ; V4  isg LONG
  1885. CEND ; MUI_OBSOLETE
  1886. CNIF #MUI_OBSOLETE=1
  1887. #MUIA_Slider_Max                      = $8042d78a ; V4  isg LONG
  1888. CEND ; MUI_OBSOLETE
  1889. CNIF #MUI_OBSOLETE=1
  1890. #MUIA_Slider_Min                      = $8042e404 ; V4  isg LONG
  1891. CEND ; MUI_OBSOLETE
  1892. #MUIA_Slider_Quiet                    = $80420b26 ; V6  i.. BOOL
  1893. CNIF #MUI_OBSOLETE=1
  1894. #MUIA_Slider_Reverse                  = $8042f2a0 ; V4  isg BOOL
  1895. CEND ; MUI_OBSOLETE
  1896.  
  1897.  
  1898.  
  1899. ;**************************************************************************
  1900. ;* Framedisplay                                                           *
  1901. ;**************************************************************************
  1902.  
  1903. Macro MUIC_Framedisplay "Framedisplay.mui" : End Macro
  1904.  
  1905. ; Attributes
  1906.  
  1907.  
  1908.  
  1909.  
  1910. ;**************************************************************************
  1911. ;* Popframe                                                               *
  1912. ;**************************************************************************
  1913.  
  1914. Macro MUIC_Popframe "Popframe.mui" : End Macro
  1915.  
  1916.  
  1917. ;**************************************************************************
  1918. ;* Imagedisplay                                                           *
  1919. ;**************************************************************************
  1920.  
  1921. Macro MUIC_Imagedisplay "Imagedisplay.mui" : End Macro
  1922.  
  1923. ; Attributes
  1924.  
  1925.  
  1926.  
  1927.  
  1928. ;**************************************************************************
  1929. ;* Popimage                                                               *
  1930. ;**************************************************************************
  1931.  
  1932. Macro MUIC_Popimage "Popimage.mui" : End Macro
  1933.  
  1934.  
  1935. ;**************************************************************************
  1936. ;* Pendisplay                                                             *
  1937. ;**************************************************************************
  1938.  
  1939. Macro MUIC_Pendisplay "Pendisplay.mui" : End Macro
  1940.  
  1941. ; Methods
  1942.  
  1943. #MUIM_Pendisplay_SetColormap          = $80426c80 ; V13
  1944. #MUIM_Pendisplay_SetMUIPen            = $8042039d ; V13
  1945. #MUIM_Pendisplay_SetRGB               = $8042c131 ; V13
  1946. NEWTYPE.MUIP_Pendisplay_SetColormap         MethodID.l:colormap.l : End NEWTYPE
  1947. NEWTYPE.MUIP_Pendisplay_SetMUIPen  MethodID.l:muipen.l : End NEWTYPE
  1948. NEWTYPE.MUIP_Pendisplay_SetRGB     MethodID.l:_red.l:_green.l:_blue.l : End NEWTYPE
  1949. ;/Normally red, green and blue (no _)         ^      ^        ^
  1950.  
  1951. ; Attributes
  1952.  
  1953. #MUIA_Pendisplay_Pen                  = $8042a748 ; V13 ..g Object *
  1954. #MUIA_Pendisplay_Reference            = $8042Dc24 ; V13 isg Object *
  1955. #MUIA_Pendisplay_RGBcolor             = $8042a1a9 ; V11 isg struct MUI_RGBcolor *
  1956. #MUIA_Pendisplay_Spec                 = $8042a204 ; V11 isg struct MUI_PenSpec  *
  1957.  
  1958.  
  1959.  
  1960. ;**************************************************************************
  1961. ;* Poppen                                                                 *
  1962. ;**************************************************************************
  1963.  
  1964. Macro MUIC_Poppen "Poppen.mui" : End Macro
  1965.  
  1966.  
  1967. ;**************************************************************************
  1968. ;* Group                                                                  *
  1969. ;**************************************************************************
  1970.  
  1971. Macro MUIC_Group "Group.mui" : End Macro
  1972.  
  1973. ; Methods
  1974.  
  1975. #MUIM_Group_ExitChange                = $8042d1cc ; V11
  1976. #MUIM_Group_InitChange                = $80420887 ; V11
  1977. #MUIM_Group_Sort                      = $80427417 ; V4
  1978. NEWTYPE.MUIP_Group_ExitChange               MethodID.l: End NEWTYPE
  1979. NEWTYPE.MUIP_Group_InitChange               MethodID.l: End NEWTYPE
  1980. NEWTYPE.MUIP_Group_Sort            MethodID.l: *obj.b[1] : End NEWTYPE
  1981. ;/Normally .Object                                 ^
  1982.  
  1983. ; Attributes
  1984.  
  1985. #MUIA_Group_ActivePage                = $80424199 ; V5  isg LONG
  1986. #MUIA_Group_Child                     = $804226e6 ; V4  i.. Object *
  1987. #MUIA_Group_ChildList                 = $80424748 ; V4  ..g struct List *
  1988. #MUIA_Group_Columns                   = $8042f416 ; V4  is. LONG
  1989. #MUIA_Group_Horiz                     = $8042536b ; V4  i.. BOOL
  1990. #MUIA_Group_HorizSpacing              = $8042c651 ; V4  isg LONG
  1991. #MUIA_Group_LayoutHook                = $8042c3b2 ; V11 i.. struct Hook *
  1992. #MUIA_Group_PageMode                  = $80421a5f ; V5  i.. BOOL
  1993. #MUIA_Group_Rows                      = $8042b68f ; V4  is. LONG
  1994. #MUIA_Group_SameHeight                = $8042037e ; V4  i.. BOOL
  1995. #MUIA_Group_SameSize                  = $80420860 ; V4  i.. BOOL
  1996. #MUIA_Group_SameWidth                 = $8042b3ec ; V4  i.. BOOL
  1997. #MUIA_Group_Spacing                   = $8042866d ; V4  is. LONG
  1998. #MUIA_Group_VertSpacing               = $8042e1bf ; V4  isg LONG
  1999.  
  2000. #MUIV_Group_ActivePage_First =0
  2001. #MUIV_Group_ActivePage_Last =-1
  2002. #MUIV_Group_ActivePage_Prev =-2
  2003. #MUIV_Group_ActivePage_Next =-3
  2004. #MUIV_Group_ActivePage_Advance =-4
  2005.  
  2006.  
  2007. ;**************************************************************************
  2008. ;* Mccprefs                                                               *
  2009. ;**************************************************************************
  2010.  
  2011. Macro MUIC_Mccprefs "Mccprefs.mui" : End Macro
  2012.  
  2013.  
  2014. ;**************************************************************************
  2015. ;* Register                                                               *
  2016. ;**************************************************************************
  2017.  
  2018. Macro MUIC_Register "Register.mui" : End Macro
  2019.  
  2020. ; Attributes
  2021.  
  2022. #MUIA_Register_Frame                  = $8042349b ; V7  i.g BOOL
  2023. #MUIA_Register_Titles                 = $804297ec ; V7  i.g STRPTR *
  2024.  
  2025.  
  2026.  
  2027. ;**************************************************************************
  2028. ;* Penadjust                                                              *
  2029. ;**************************************************************************
  2030.  
  2031. Macro MUIC_Penadjust "Penadjust.mui" : End Macro
  2032.  
  2033. ; Methods
  2034.  
  2035.  
  2036. ; Attributes
  2037.  
  2038. #MUIA_Penadjust_PSIMode               = $80421cbb ; V11 i.. BOOL
  2039.  
  2040.  
  2041.  
  2042. ;**************************************************************************
  2043. ;* Settingsgroup                                                          *
  2044. ;**************************************************************************
  2045.  
  2046. Macro MUIC_Settingsgroup "Settingsgroup.mui" : End Macro
  2047.  
  2048. ; Methods
  2049.  
  2050. #MUIM_Settingsgroup_ConfigToGadgets   = $80427043 ; V11
  2051. #MUIM_Settingsgroup_GadgetsToConfig   = $80425242 ; V11
  2052. NEWTYPE.MUIP_Settingsgroup_ConfigToGadgets  MethodID.l:*configdata.b : End NEWTYPE
  2053. ;/Normally .Object                                                ^
  2054. NEWTYPE.MUIP_Settingsgroup_GadgetsToConfig  MethodID.l:*configdata.b : End NEWTYPE
  2055. ;/Normally .Object                                                ^
  2056.  
  2057. ; Attributes
  2058.  
  2059.  
  2060.  
  2061.  
  2062. ;**************************************************************************
  2063. ;* Settings                                                               *
  2064. ;**************************************************************************
  2065.  
  2066. Macro MUIC_Settings "Settings.mui" : End Macro
  2067.  
  2068. ; Methods
  2069.  
  2070.  
  2071. ; Attributes
  2072.  
  2073.  
  2074.  
  2075.  
  2076. ;**************************************************************************
  2077. ;* Frameadjust                                                            *
  2078. ;**************************************************************************
  2079.  
  2080. Macro MUIC_Frameadjust "Frameadjust.mui" : End Macro
  2081.  
  2082. ; Methods
  2083.  
  2084.  
  2085. ; Attributes
  2086.  
  2087.  
  2088.  
  2089.  
  2090. ;**************************************************************************
  2091. ;* Imageadjust                                                            *
  2092. ;**************************************************************************
  2093.  
  2094. Macro MUIC_Imageadjust "Imageadjust.mui" : End Macro
  2095.  
  2096. ; Methods
  2097.  
  2098.  
  2099. ; Attributes
  2100.  
  2101.  
  2102. #MUIV_Imageadjust_Type_All =0
  2103. #MUIV_Imageadjust_Type_Image =1
  2104. #MUIV_Imageadjust_Type_Background =2
  2105. #MUIV_Imageadjust_Type_Pen =3
  2106.  
  2107.  
  2108. ;**************************************************************************
  2109. ;* Virtgroup                                                              *
  2110. ;**************************************************************************
  2111.  
  2112. Macro MUIC_Virtgroup "Virtgroup.mui" : End Macro
  2113.  
  2114. ; Methods
  2115.  
  2116.  
  2117. ; Attributes
  2118.  
  2119. #MUIA_Virtgroup_Height                = $80423038 ; V6  ..g LONG
  2120. #MUIA_Virtgroup_Input                 = $80427f7e ; V11 i.. BOOL
  2121. #MUIA_Virtgroup_Left                  = $80429371 ; V6  isg LONG
  2122. #MUIA_Virtgroup_Top                   = $80425200 ; V6  isg LONG
  2123. #MUIA_Virtgroup_Width                 = $80427c49 ; V6  ..g LONG
  2124.  
  2125.  
  2126.  
  2127. ;**************************************************************************
  2128. ;* Scrollgroup                                                            *
  2129. ;**************************************************************************
  2130.  
  2131. Macro MUIC_Scrollgroup "Scrollgroup.mui" : End Macro
  2132.  
  2133. ; Methods
  2134.  
  2135.  
  2136. ; Attributes
  2137.  
  2138. #MUIA_Scrollgroup_Contents            = $80421261 ; V4  i.g Object *
  2139. #MUIA_Scrollgroup_FreeHoriz           = $804292f3 ; V9  i.. BOOL
  2140. #MUIA_Scrollgroup_FreeVert            = $804224f2 ; V9  i.. BOOL
  2141. #MUIA_Scrollgroup_HorizBar            = $8042b63d ; V16 ..g Object *
  2142. #MUIA_Scrollgroup_UseWinBorder        = $804284c1 ; V13 i.. BOOL
  2143. #MUIA_Scrollgroup_VertBar             = $8042cdc0 ; V16 ..g Object *
  2144.  
  2145.  
  2146.  
  2147. ;**************************************************************************
  2148. ;* Scrollbar                                                              *
  2149. ;**************************************************************************
  2150.  
  2151. Macro MUIC_Scrollbar "Scrollbar.mui" : End Macro
  2152.  
  2153. ; Attributes
  2154.  
  2155. #MUIA_Scrollbar_Type                  = $8042fb6b ; V11 i.. LONG
  2156.  
  2157. #MUIV_Scrollbar_Type_Default =0
  2158. #MUIV_Scrollbar_Type_Bottom =1
  2159. #MUIV_Scrollbar_Type_Top =2
  2160. #MUIV_Scrollbar_Type_Sym =3
  2161.  
  2162.  
  2163. ;**************************************************************************
  2164. ;* Listview                                                               *
  2165. ;**************************************************************************
  2166.  
  2167. Macro MUIC_Listview "Listview.mui" : End Macro
  2168.  
  2169. ; Attributes
  2170.  
  2171. #MUIA_Listview_ClickColumn            = $8042d1b3 ; V7  ..g LONG
  2172. #MUIA_Listview_DefClickColumn         = $8042b296 ; V7  isg LONG
  2173. #MUIA_Listview_DoubleClick            = $80424635 ; V4  i.g BOOL
  2174. #MUIA_Listview_DragType               = $80425cd3 ; V11 isg LONG
  2175. #MUIA_Listview_Input                  = $8042682d ; V4  i.. BOOL
  2176. #MUIA_Listview_List                   = $8042bcce ; V4  i.g Object *
  2177. #MUIA_Listview_MultiSelect            = $80427e08 ; V7  i.. LONG
  2178. #MUIA_Listview_ScrollerPos            = $8042b1b4 ; V10 i.. BOOL
  2179. #MUIA_Listview_SelectChange           = $8042178f ; V4  ..g BOOL
  2180.  
  2181. #MUIV_Listview_DragType_None =0
  2182. #MUIV_Listview_DragType_Immediate =1
  2183. #MUIV_Listview_MultiSelect_None =0
  2184. #MUIV_Listview_MultiSelect_Default =1
  2185. #MUIV_Listview_MultiSelect_Shifted =2
  2186. #MUIV_Listview_MultiSelect_Always =3
  2187. #MUIV_Listview_ScrollerPos_Default =0
  2188. #MUIV_Listview_ScrollerPos_Left =1
  2189. #MUIV_Listview_ScrollerPos_Right =2
  2190. #MUIV_Listview_ScrollerPos_None =3
  2191.  
  2192.  
  2193. ;**************************************************************************
  2194. ;* Radio                                                                  *
  2195. ;**************************************************************************
  2196.  
  2197. Macro MUIC_Radio "Radio.mui" : End Macro
  2198.  
  2199. ; Attributes
  2200.  
  2201. #MUIA_Radio_Active                    = $80429b41 ; V4  isg LONG
  2202. #MUIA_Radio_Entries                   = $8042b6a1 ; V4  i.. STRPTR *
  2203.  
  2204.  
  2205.  
  2206. ;**************************************************************************
  2207. ;* Cycle                                                                  *
  2208. ;**************************************************************************
  2209.  
  2210. Macro MUIC_Cycle "Cycle.mui" : End Macro
  2211.  
  2212. ; Attributes
  2213.  
  2214. #MUIA_Cycle_Active                    = $80421788 ; V4  isg LONG
  2215. #MUIA_Cycle_Entries                   = $80420629 ; V4  i.. STRPTR *
  2216.  
  2217. #MUIV_Cycle_Active_Next =-1
  2218. #MUIV_Cycle_Active_Prev =-2
  2219.  
  2220.  
  2221. ;**************************************************************************
  2222. ;* Coloradjust                                                            *
  2223. ;**************************************************************************
  2224.  
  2225. Macro MUIC_Coloradjust "Coloradjust.mui" : End Macro
  2226.  
  2227. ; Methods
  2228.  
  2229.  
  2230. ; Attributes
  2231.  
  2232. #MUIA_Coloradjust_Blue                = $8042b8a3 ; V4  isg ULONG
  2233. #MUIA_Coloradjust_Green               = $804285ab ; V4  isg ULONG
  2234. #MUIA_Coloradjust_ModeID              = $8042ec59 ; V4  isg ULONG
  2235. #MUIA_Coloradjust_Red                 = $80420eaa ; V4  isg ULONG
  2236. #MUIA_Coloradjust_RGB                 = $8042f899 ; V4  isg ULONG *
  2237.  
  2238.  
  2239.  
  2240. ;**************************************************************************
  2241. ;* Palette                                                                *
  2242. ;**************************************************************************
  2243.  
  2244. Macro MUIC_Palette "Palette.mui" : End Macro
  2245.  
  2246. ; Attributes
  2247.  
  2248. #MUIA_Palette_Entries                 = $8042a3d8 ; V6  i.g struct MUI_Palette_Entry *
  2249. #MUIA_Palette_Groupable               = $80423e67 ; V6  isg BOOL
  2250. #MUIA_Palette_Names                   = $8042c3a2 ; V6  isg char ;**
  2251.  
  2252.  
  2253.  
  2254. ;**************************************************************************
  2255. ;* Popstring                                                              *
  2256. ;**************************************************************************
  2257.  
  2258. Macro MUIC_Popstring "Popstring.mui" : End Macro
  2259.  
  2260. ; Methods
  2261.  
  2262. #MUIM_Popstring_Close                 = $8042Dc52 ; V7
  2263. #MUIM_Popstring_Open                  = $804258ba ; V7
  2264. NEWTYPE.MUIP_Popstring_Close       MethodID.l:result.l : End NEWTYPE
  2265. NEWTYPE.MUIP_Popstring_Open                 MethodID.l: End NEWTYPE
  2266.  
  2267. ; Attributes
  2268.  
  2269. #MUIA_Popstring_Button                = $8042d0b9 ; V7  i.g Object *
  2270. #MUIA_Popstring_CloseHook             = $804256bf ; V7  isg struct Hook *
  2271. #MUIA_Popstring_OpenHook              = $80429d00 ; V7  isg struct Hook *
  2272. #MUIA_Popstring_String                = $804239ea ; V7  i.g Object *
  2273. #MUIA_Popstring_Toggle                = $80422b7a ; V7  isg BOOL
  2274.  
  2275.  
  2276.  
  2277. ;**************************************************************************
  2278. ;* Popobject                                                              *
  2279. ;**************************************************************************
  2280.  
  2281. Macro MUIC_Popobject "Popobject.mui" : End Macro
  2282.  
  2283. ; Attributes
  2284.  
  2285. #MUIA_Popobject_Follow                = $80424cb5 ; V7  isg BOOL
  2286. #MUIA_Popobject_Light                 = $8042a5a3 ; V7  isg BOOL
  2287. #MUIA_Popobject_Object                = $804293e3 ; V7  i.g Object *
  2288. #MUIA_Popobject_ObjStrHook            = $8042db44 ; V7  isg struct Hook *
  2289. #MUIA_Popobject_StrObjHook            = $8042fbe1 ; V7  isg struct Hook *
  2290. #MUIA_Popobject_Volatile              = $804252ec ; V7  isg BOOL
  2291. #MUIA_Popobject_WindowHook            = $8042f194 ; V9  isg struct Hook *
  2292.  
  2293.  
  2294.  
  2295. ;**************************************************************************
  2296. ;* Poplist                                                                *
  2297. ;**************************************************************************
  2298.  
  2299. Macro MUIC_Poplist "Poplist.mui" : End Macro
  2300.  
  2301. ; Attributes
  2302.  
  2303. #MUIA_Poplist_Array                   = $8042084c ; V8  i.. char ;**
  2304.  
  2305.  
  2306.  
  2307. ;**************************************************************************
  2308. ;* Popscreen                                                              *
  2309. ;**************************************************************************
  2310.  
  2311. Macro MUIC_Popscreen "Popscreen.mui" : End Macro
  2312.  
  2313. ; Attributes
  2314.  
  2315.  
  2316.  
  2317.  
  2318. ;**************************************************************************
  2319. ;* Popasl                                                                 *
  2320. ;**************************************************************************
  2321.  
  2322. Macro MUIC_Popasl "Popasl.mui" : End Macro
  2323.  
  2324. ; Attributes
  2325.  
  2326. #MUIA_Popasl_Active                   = $80421b37 ; V7  ..g BOOL
  2327. #MUIA_Popasl_StartHook                = $8042b703 ; V7  isg struct Hook *
  2328. #MUIA_Popasl_StopHook                 = $8042d8d2 ; V7  isg struct Hook *
  2329. #MUIA_Popasl_Type                     = $8042df3d ; V7  i.g ULONG
  2330.  
  2331.  
  2332.  
  2333. ;**************************************************************************
  2334. ;* Semaphore                                                              *
  2335. ;**************************************************************************
  2336.  
  2337. Macro MUIC_Semaphore "Semaphore.mui" : End Macro
  2338.  
  2339. ; Methods
  2340.  
  2341. #MUIM_Semaphore_Attempt               = $80426ce2 ; V11
  2342. #MUIM_Semaphore_AttemptShared         = $80422551 ; V11
  2343. #MUIM_Semaphore_Obtain                = $804276f0 ; V11
  2344. #MUIM_Semaphore_ObtainShared          = $8042ea02 ; V11
  2345. #MUIM_Semaphore_Release               = $80421f2d ; V11
  2346. NEWTYPE.MUIP_Semaphore_Attempt              MethodID.l: End NEWTYPE
  2347. NEWTYPE.MUIP_Semaphore_AttemptShared        MethodID.l: End NEWTYPE
  2348. NEWTYPE.MUIP_Semaphore_Obtain               MethodID.l: End NEWTYPE
  2349. NEWTYPE.MUIP_Semaphore_ObtainShared         MethodID.l: End NEWTYPE
  2350. NEWTYPE.MUIP_Semaphore_Release              MethodID.l: End NEWTYPE
  2351.  
  2352.  
  2353. ;**************************************************************************
  2354. ;* Applist                                                                *
  2355. ;**************************************************************************
  2356.  
  2357. Macro MUIC_Applist "Applist.mui" : End Macro
  2358.  
  2359. ; Methods
  2360.  
  2361.  
  2362.  
  2363. ;**************************************************************************
  2364. ;* Cclist                                                                 *
  2365. ;**************************************************************************
  2366.  
  2367. Macro MUIC_Cclist "Cclist.mui" : End Macro
  2368.  
  2369. ; Methods
  2370.  
  2371.  
  2372.  
  2373. ;**************************************************************************
  2374. ;* Dataspace                                                              *
  2375. ;**************************************************************************
  2376.  
  2377. Macro MUIC_Dataspace "Dataspace.mui" : End Macro
  2378.  
  2379. ; Methods
  2380.  
  2381. #MUIM_Dataspace_Add                   = $80423366 ; V11
  2382. #MUIM_Dataspace_Clear                 = $8042b6c9 ; V11
  2383. #MUIM_Dataspace_Find                  = $8042832c ; V11
  2384. #MUIM_Dataspace_Merge                 = $80423e2b ; V11
  2385. #MUIM_Dataspace_ReadIFF               = $80420dfb ; V11
  2386. #MUIM_Dataspace_Remove                = $8042dce1 ; V11
  2387. #MUIM_Dataspace_WriteIFF              = $80425e8e ; V11
  2388. NEWTYPE.MUIP_Dataspace_Add         MethodID.l:*_data.b:_len.l:id.l : End NEWTYPE
  2389. ;/Normally data and len (no _)                 ^       ^
  2390. NEWTYPE.MUIP_Dataspace_Clear                MethodID.l: End NEWTYPE
  2391. NEWTYPE.MUIP_Dataspace_Find        MethodID.l:id.l : End NEWTYPE
  2392. NEWTYPE.MUIP_Dataspace_Merge       MethodID.l:*dataspace.b : End NEWTYPE
  2393. ;/Normally .Object                                      ^
  2394. NEWTYPE.MUIP_Dataspace_ReadIFF     MethodID.l:*_handle.b : End NEWTYPE
  2395. ;/Normally handle (no _) and .IFFHandle         ^      ^
  2396. NEWTYPE.MUIP_Dataspace_Remove      MethodID.l:id.l : End NEWTYPE
  2397. NEWTYPE.MUIP_Dataspace_WriteIFF    MethodID.l:  *_handle.b:_type.l:id.l : End NEWTYPE
  2398. ;/Normally handle and type (no _) and .IFFHandle ^      ^  ^
  2399.  
  2400. ; Attributes
  2401.  
  2402. #MUIA_Dataspace_Pool                  = $80424cf9 ; V11 i.. APTR
  2403.  
  2404.  
  2405.  
  2406. ;**************************************************************************
  2407. ;* Configdata                                                             *
  2408. ;**************************************************************************
  2409.  
  2410. Macro MUIC_Configdata "Configdata.mui" : End Macro
  2411.  
  2412. ; Methods
  2413.  
  2414.  
  2415. ; Attributes
  2416.  
  2417.  
  2418.  
  2419.  
  2420. ;**************************************************************************
  2421. ;* Dtpic                                                                  *
  2422. ;**************************************************************************
  2423.  
  2424. Macro MUIC_Dtpic "Dtpic.mui" : End Macro
  2425.  
  2426. ; Attributes
  2427.  
  2428.  
  2429.  
  2430.  
  2431. ;***************************************
  2432. ; End of automatic header file creation
  2433. ;***************************************
  2434.  
  2435.  
  2436.  
  2437.  
  2438.  
  2439.  
  2440.  
  2441. ;************************************************************************
  2442. ;** Structures and Macros for creating custom classes.
  2443. ;************************************************************************
  2444.  
  2445.  
  2446. ;** GENERAL NOTES:
  2447. ;**
  2448. ;** - Everything described in this header file is only valid within
  2449. ;**   MUI classes. You may never use any of these things out of
  2450. ;**   a class, e.g. in a traditional MUI application.
  2451. ;**
  2452. ;** - Except when otherwise stated, all structures are strictly read only.
  2453.  
  2454.  
  2455.  
  2456. ; Global information for every object
  2457.  
  2458. NEWTYPE.MUI_GlobalInfo
  2459.         priv0.l
  2460.         *mgi_ApplicationObject.b ;/Normally .Object
  2461.  
  2462.         ; ... private data follows ...
  2463. End NEWTYPE
  2464.  
  2465.  
  2466. ; Instance data of notify class
  2467.  
  2468. NEWTYPE.MUI_NotifyData
  2469.         *mnd_GlobalInfo.MUI_GlobalInfo
  2470.         mnd_UserData.l
  2471.         mnd_ObjectID.l
  2472.         priv1.l
  2473.         priv2.l
  2474.         priv3.l
  2475.         priv4.l
  2476. End NEWTYPE
  2477.  
  2478.  
  2479. ; MUI_MinMax structure holds information about minimum, maximum
  2480. ;   and default dimensions of an object.
  2481.  
  2482. NEWTYPE.MUI_MinMax
  2483.         MinWidth.w
  2484.         MinHeight.w
  2485.         MaxWidth.w
  2486.         MaxHeight.w
  2487.         DefWidth.w
  2488.         DefHeight.w
  2489. End NEWTYPE
  2490.  
  2491. #MUI_MAXMAX= 10000 ; use this if a dimension is not limited.
  2492.  
  2493.  
  2494. NEWTYPE.MUI_LayoutMsg_Size ;Normally, this structure is direcly declared
  2495.  Width.l                   ;in the MUI_LayoutMsg structure .
  2496.  Height.l                  ;However, in Blitz, it isn't possible,
  2497.  priv5.l                   ;so I had to do it this way .
  2498.  priv6.l
  2499. End NEWTYPE
  2500.  
  2501. ; Hook message for custom layout
  2502.  
  2503. NEWTYPE.MUI_LayoutMsg
  2504.         lm_Type.l     ; type of message (see defines below)
  2505.         *lm_Children.b ; list of this groups children, traverse with NextObject()
  2506. ;/Normally .MinList ^
  2507.         lm_MinMax.MUI_MinMax   ; results for MUILM_MINMAX
  2508.         lm_Layout.MUI_LayoutMsg_Size   ; size (and result) for MUILM_LAYOUT
  2509. End NEWTYPE
  2510.  
  2511. #MUILM_MINMAX  =  1  ; MUI wants you to calc your min & max sizes
  2512. #MUILM_LAYOUT  =  2  ; MUI wants you to layout your children
  2513.  
  2514. #MUILM_UNKNOWN = -1  ; return this if your hook doesn't implement lm_Type
  2515.  
  2516.  
  2517. ; (partial) instance data of area class
  2518.  
  2519. NEWTYPE.MUI_AreaData
  2520.         *mad_RenderInfo.MUI_RenderInfo     ; RenderInfo for this object
  2521.         priv7.l
  2522.         *mad_Font.b           ; Font
  2523. ;/               ^  Normally .TextFont
  2524.         mad_MinMax.MUI_MinMax         ; min/max/default sizes
  2525.         mad_Box.IBox            ; position and dimension
  2526.         mad_addleft.b        ; frame & innerspacing left offset
  2527.         mad_addtop.b         ; frame & innerspacing top offset
  2528.         mad_subwidth.b       ; frame & innerspacing add. width
  2529.         mad_subheight.b      ; frame & innerspacing add. height
  2530.         mad_Flags.l          ; see definitions below
  2531.  
  2532.         ; ... private data follows ...
  2533. End NEWTYPE
  2534.  
  2535. ; Definitions for mad_Flags, other flags are private
  2536.  
  2537. #MADF_DRAWOBJECT         = (1 LSL  0) ; completely redraw yourself
  2538. #MADF_DRAWUPDATE         = (1 LSL  1) ; only update yourself
  2539.  
  2540.  
  2541.  
  2542. ; MUI's draw pens
  2543.  
  2544. #MPEN_SHINE     = 0
  2545. #MPEN_HALFSHINE = 1
  2546. #MPEN_BACKGROUND= 2
  2547. #MPEN_HALFSHADOW= 3
  2548. #MPEN_SHADOW    = 4
  2549. #MPEN_TEXT      = 5
  2550. #MPEN_FILL      = 6
  2551. #MPEN_MARK      = 7
  2552. #MPEN_COUNT     = 8
  2553.  
  2554.  
  2555. ; Mask for pens from MUI_ObtainPen()
  2556.  
  2557. #MUIPEN_MASK  = $0000ffff
  2558. Macro MUIPEN ((`1) & #MUIPEN_MASK) : End Macro
  2559.  
  2560.  
  2561. ; Information on display environment
  2562.  
  2563. NEWTYPE.MUI_RenderInfo
  2564.         *mri_WindowObject.b  ; valid between MUIM_Setup/MUIM_Cleanup
  2565. ;/Normally .Object       ^
  2566.         *mri_Screen.b        ; valid between MUIM_Setup/MUIM_Cleanup
  2567. ;/Normally .Screen ^
  2568.         *mri_DrawInfo.b      ; valid between MUIM_Setup/MUIM_Cleanup
  2569. ;/Normally .DrawInfo ^
  2570.         *mri_Pens.w          ; valid between MUIM_Setup/MUIM_Cleanup
  2571.         *mri_Window.b        ; valid between MUIM_Show/MUIM_Hide
  2572. ;/Normally .Window ^
  2573.         *mri_RastPort.b      ; valid between MUIM_Show/MUIM_Hide
  2574. ;/Normally .RastPort ^
  2575.         mri_Flags.l         ; valid between MUIM_Setup/MUIM_Cleanup
  2576.  
  2577.         ; ... private data follows ...
  2578. End NEWTYPE
  2579.  
  2580. ;** If mri_Flags & MUIMRI_RECTFILL, RectFill() is quicker
  2581. ;** than Move()/Draw() for horizontal or vertical lines.
  2582. ;** on the current display.
  2583.  
  2584. #MUIMRI_RECTFILL  = (1 LSL 0)
  2585.  
  2586. ;** If mri_Flags & MUIMRI_TRUECOLOR, display environment is a
  2587. ;** cybergraphics emulated hicolor or true color display.
  2588.  
  2589. #MUIMRI_TRUECOLOR  = (1 LSL 1)
  2590.  
  2591. ;** If mri_Flags & MUIMRI_THINFRAMES, MUI uses thin frames
  2592. ;** (1:1) apsect ratio instead of standard 2:1 frames.
  2593.  
  2594. #MUIMRI_THINFRAMES  = (1 LSL 2)
  2595.  
  2596. ;** If mri_Flags & MUIMRI_REFRESHMODE, MUI is currently
  2597. ;** refreshing a WFLG_SIMPLEREFRESH window and is between
  2598. ;** a BeginRefresh()/EndRefresh() pair.
  2599.  
  2600. #MUIMRI_REFRESHMODE  = (1 LSL 3)
  2601.  
  2602.  
  2603. ; the following macros can be used to get pointers to an objects
  2604. ;   GlobalInfo AND RenderInfo structures.
  2605.  
  2606. NEWTYPE.__dummyXFC2__
  2607.         mnd.MUI_NotifyData
  2608.         mad.MUI_AreaData
  2609. End NEWTYPE
  2610.  
  2611. ;/5 macros removed here (see the doc)
  2612.  
  2613.  
  2614. ; User configurable keyboard events coming with MUIM_HandleInput
  2615.  
  2616.         #MUIKEY_RELEASE = -2 ; not a real key, faked when #MUIKEY_PRESS is released
  2617.         #MUIKEY_NONE    = -1
  2618.         #MUIKEY_PRESS=0
  2619.         #MUIKEY_TOGGLE=1
  2620.         #MUIKEY_UP=2
  2621.         #MUIKEY_DOWN=3
  2622.         #MUIKEY_PAGEUP=4
  2623.         #MUIKEY_PAGEDOWN=5
  2624.         #MUIKEY_TOP=6
  2625.         #MUIKEY_BOTTOM=7
  2626.         #MUIKEY_LEFT=8
  2627.         #MUIKEY_RIGHT=9
  2628.         #MUIKEY_WORDLEFT=10
  2629.         #MUIKEY_WORDRIGHT=11
  2630.         #MUIKEY_LINESTART=12
  2631.         #MUIKEY_LINEEND=13
  2632.         #MUIKEY_GADGET_NEXT=14
  2633.         #MUIKEY_GADGET_PREV=15
  2634.         #MUIKEY_GADGET_OFF=16
  2635.         #MUIKEY_WINDOW_CLOSE=17
  2636.         #MUIKEY_WINDOW_NEXT=18
  2637.         #MUIKEY_WINDOW_PREV=19
  2638.         #MUIKEY_HELP=20
  2639.         #MUIKEY_POPUP=21
  2640.         #MUIKEY_COUNT=22 ; counter
  2641.  
  2642. #MUIKEYF_PRESS         = (1 LSL #MUIKEY_PRESS)
  2643. #MUIKEYF_TOGGLE        = (1 LSL #MUIKEY_TOGGLE)
  2644. #MUIKEYF_UP            = (1 LSL #MUIKEY_UP)
  2645. #MUIKEYF_DOWN          = (1 LSL #MUIKEY_DOWN)
  2646. #MUIKEYF_PAGEUP        = (1 LSL #MUIKEY_PAGEUP)
  2647. #MUIKEYF_PAGEDOWN      = (1 LSL #MUIKEY_PAGEDOWN)
  2648. #MUIKEYF_TOP           = (1 LSL #MUIKEY_TOP)
  2649. #MUIKEYF_BOTTOM        = (1 LSL #MUIKEY_BOTTOM)
  2650. #MUIKEYF_LEFT          = (1 LSL #MUIKEY_LEFT)
  2651. #MUIKEYF_RIGHT         = (1 LSL #MUIKEY_RIGHT)
  2652. #MUIKEYF_WORDLEFT      = (1 LSL #MUIKEY_WORDLEFT)
  2653. #MUIKEYF_WORDRIGHT     = (1 LSL #MUIKEY_WORDRIGHT)
  2654. #MUIKEYF_LINESTART     = (1 LSL #MUIKEY_LINESTART)
  2655. #MUIKEYF_LINEEND       = (1 LSL #MUIKEY_LINEEND)
  2656. #MUIKEYF_GADGET_NEXT   = (1 LSL #MUIKEY_GADGET_NEXT)
  2657. #MUIKEYF_GADGET_PREV   = (1 LSL #MUIKEY_GADGET_PREV)
  2658. #MUIKEYF_GADGET_OFF    = (1 LSL #MUIKEY_GADGET_OFF)
  2659. #MUIKEYF_WINDOW_CLOSE  = (1 LSL #MUIKEY_WINDOW_CLOSE)
  2660. #MUIKEYF_WINDOW_NEXT   = (1 LSL #MUIKEY_WINDOW_NEXT)
  2661. #MUIKEYF_WINDOW_PREV   = (1 LSL #MUIKEY_WINDOW_PREV)
  2662. #MUIKEYF_HELP          = (1 LSL #MUIKEY_HELP)
  2663. #MUIKEYF_POPUP         = (1 LSL #MUIKEY_POPUP)
  2664.  
  2665.  
  2666. ; Some useful shortcuts. define MUI_NOSHORTCUTS to get rid of them
  2667. ; NOTE: These macros may only be used in custom classes and are
  2668. ; only valid if your class is inbetween the specified methods!
  2669.  
  2670. CNIF #MUI_SHORTCUTS=1
  2671.  
  2672. ;/Macros removed in BB2 interface (please see the doc)
  2673.  
  2674. CEND
  2675.  
  2676.  
  2677.  
  2678. ; MUI_CustomClass returned by MUI_CreateCustomClass()
  2679.  
  2680. NEWTYPE.MUI_CustomClass
  2681.         *mcc_UserData.b;                  ; use for whatever you want
  2682.  
  2683.         *mcc_UtilityBase.b    ; MUI has opened these libraries
  2684. ;/Normally .Library     ^
  2685.         *mcc_DOSBase.b        ; for you automatically. You can
  2686. ;/Normally .Library ^
  2687.         *mcc_GfxBase.b        ; use them or decide to open
  2688. ;/Normally .Library ^
  2689.         *mcc_IntuitionBase.b  ; your libraries yourself.
  2690. ;/Normally .Library       ^
  2691.         *mcc_Super.b           ; pointer to super class
  2692. ;/Normally .IClass ^
  2693.         *mcc_Class.b           ; pointer to the new class
  2694. ;/Normally .IClass ^
  2695.         ; ... private data follows ...
  2696. End NEWTYPE
  2697.